Merge pull request #78 from SyncrowIOT/SP-342-implement-region-end-point-in-the-login

error handling for login
This commit is contained in:
yousef-khriasat-uba
2024-08-11 15:58:57 +03:00
committed by GitHub

View File

@ -125,7 +125,7 @@ export class UserAuthService {
sessionId: session[1].uuid, sessionId: session[1].uuid,
}); });
} catch (error) { } catch (error) {
throw new BadRequestException('Wrong email, password or region'); throw new BadRequestException('Invalid credentials');
} }
} }