diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-08-06 10:44:56 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-08-06 11:01:18 +0100 |
| commit | 6379deb5a741586ae5667043e99712dac71e9083 (patch) | |
| tree | e3f41cbbbff72087791fb294e5ea07b20ece63d5 /packages/backend/src/server/api/AuthenticateService.ts | |
| parent | remove double spaces from translations (diff) | |
| download | sharkey-6379deb5a741586ae5667043e99712dac71e9083.tar.gz sharkey-6379deb5a741586ae5667043e99712dac71e9083.tar.bz2 sharkey-6379deb5a741586ae5667043e99712dac71e9083.zip | |
fail `AbuseReportService.resolve` harder without remote users
as @fEmber noticed, if `findOneByOrFail` throws, we would have marked
the report as resolved, without logging that
this way, the whole operation fails (the frontend should not send us
ids of users that can't be resolved!)
Diffstat (limited to 'packages/backend/src/server/api/AuthenticateService.ts')
0 files changed, 0 insertions, 0 deletions