Skip to content

Commit

Permalink
fix: return saved resource user (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes authored Dec 17, 2024
1 parent 98edd5a commit e6d1cb9
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 e6d1cb9

Please sign in to comment.