Skip to content

Commit

Permalink
[FIX] worry수정시 updated_at 값 갱신
Browse files Browse the repository at this point in the history
  • Loading branch information
leGit-y committed Nov 5, 2023
1 parent 51061f9 commit b428020
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repository/worryRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const createFinalAnswer = async(finalAnswerCreateDTO: finalAnswerCreateDTO) => {
id: finalAnswerCreateDTO.worryId
},
data: {
updated_at: new Date(),
final_answer: finalAnswerCreateDTO.finalAnswer
}
})
Expand All @@ -73,6 +74,7 @@ const updateDeadline = async(deadlineUpdateDAO: deadlineUpdateDAO) => {
id: deadlineUpdateDAO.worryId
},
data: {
updated_at: new Date(),
deadline: deadlineUpdateDAO.deadline
}
})
Expand Down

0 comments on commit b428020

Please sign in to comment.