Skip to content

Commit

Permalink
ciを直したのと、検証ように適当なコメントを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
eraser5th committed Sep 10, 2024
1 parent 6daeb09 commit 4f10ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
paths:
- "./**"
- "backend/**"
workflow_dispatch:


Expand Down
1 change: 1 addition & 0 deletions backend/src/usecase/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::generate::entities::user;
use crate::{context::Context, models::user::User};

pub async fn get_user_by_id(ctx: &Context, id: &str) -> Result<Option<User>, ()> {
// hoge
let db = &ctx.db;

let Ok(user) = user::Entity::find_by_id(id).one(db).await else {
Expand Down

0 comments on commit 4f10ea3

Please sign in to comment.