Skip to content

Commit

Permalink
return saved resource user
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes committed Dec 17, 2024
1 parent 98edd5a commit e011fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource-user/resource-user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class ResourceUserService {
});

if (resourceUser) {
await this.resourceUserRepository.save({
resourceUser = await this.resourceUserRepository.save({
...resourceUser,
completedAt: completed ? new Date() : null,
});
Expand Down

0 comments on commit e011fab

Please sign in to comment.