Fixed scaling issue with the cursor position texture size is still a concern

This commit is contained in:
Clément Le Bihan
2023-09-17 19:32:29 +02:00
parent 8abaaf6624
commit 09d2da8eec
4 changed files with 33 additions and 16 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import {
Body,
Delete,
BadRequestException,
DuplicateException,
ConflictException,
HttpCode,
Put,
InternalServerErrorException,
@@ -77,7 +77,7 @@ export class AuthController {
} catch (e) {
// check if the error is a duplicate key error
if (e.code === 'P2002') {
throw new DuplicateException('Username or email already taken');
throw new ConflictException('Username or email already taken');
}
console.error(e);
throw new BadRequestException();