Skip to content

Commit b0fa052

Browse files
authored
Merge pull request #109 from Planvas/feat/40
fix: report type 수정
2 parents 1ff3eae + 2137aa6 commit b0fa052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/report.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function createReport(userId, goalId = null) {
4444
}
4545

4646
const goal = goalId
47-
? await findGoalPeriodById(goalId)
47+
? await findGoalPeriodById(Number(goalId))
4848
: await findCurrentGoalPeriodByUserId(userId);
4949

5050
if (!goal) {

0 commit comments

Comments
 (0)