Skip to content

Commit

Permalink
Lint Check for Functionsで指摘された部分を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Takumi0216 committed Nov 30, 2024
1 parent 95231ed commit 2924d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/routers/goalRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ router.route("/:goalId").put(async (req: Request, res: Response) => {

const updateData: Partial<Omit<Goal, "deadline">> & {
deadline?: admin.firestore.Timestamp;
} = {}; //型エラーが出たため書き方変更
} = {}; // 型エラーが出たため書き方変更
if (userId) updateData.userId = userId;
if (deadline)
updateData.deadline = admin.firestore.Timestamp.fromDate(
Expand Down

0 comments on commit 2924d04

Please sign in to comment.