Commit 8c1a3aa9 authored by tushar5526's avatar tushar5526
Browse files

update error msg

parent e939f753
No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
......@@ -39,7 +39,10 @@ export class AppService {
process.env.ENCODED_CLIENTID_CLIENTSECRETS_CASA,
);
} catch (e) {
throw new HttpException('Get registered on CASA', HttpStatus.NOT_FOUND);
throw new HttpException(
'Get registered on CASA or invalid creds',
HttpStatus.NOT_FOUND,
);
}
const access_token = res.access_token;
......@@ -240,7 +243,7 @@ export class AppService {
rollNo: studentData.RollNo.toString(),
dob: studentData.DateOfBirth,
};
console.log()
console.log();
if (searchRes.length) {
// Update Data
updateEntity(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment