Skip to content

Commit

Permalink
admin apis
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Sep 24, 2023
1 parent 4c3e43f commit ddd083d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/features/need/need.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,15 @@ export class NeedController {
throw new ServerError('huuuh');
}
console.log(flaskNeed);
await this.needService.updateNeedContributors(
need.id,
auditor,
purchaser,
);
try {
await this.needService.updateNeedContributors(
need.id,
auditor,
purchaser,
);
} catch (e) {
console.log(e);
}
}
}
}

0 comments on commit ddd083d

Please sign in to comment.