Skip to content

Commit

Permalink
Add author to training log
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz committed Nov 9, 2023
1 parent d3b82ee commit 53cbc7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/training-log/TrainingLogController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ async function getByUUID(request: Request, response: Response, next: NextFunctio
where: {
uuid: params.uuid,
},
include: [TrainingLog.associations.author]
});

if (trainingLog == null) {
Expand Down

0 comments on commit 53cbc7b

Please sign in to comment.