summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/AuthenticateService.ts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-08-06 10:44:56 +0100
committerdakkar <dakkar@thenautilus.net>2024-08-06 11:01:18 +0100
commit6379deb5a741586ae5667043e99712dac71e9083 (patch)
treee3f41cbbbff72087791fb294e5ea07b20ece63d5 /packages/backend/src/server/api/AuthenticateService.ts
parentremove double spaces from translations (diff)
downloadsharkey-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