Skip to content

Commit 62385e1

Browse files
committed
chore: Fix typo in PasswdService error handling
1 parent df26ad6 commit 62385e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/management/passwd/passwd.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class PasswdService extends AbstractService {
5959
let _debug = undefined;
6060
this.logger.error("Error while changing password. " + e + ` (uid=${passwdDto?.uid})`);
6161

62-
if (e?.response?.statusCode === HttpStatus.BAD_REQUEST) {
62+
if (e?.response?.status === HttpStatus.BAD_REQUEST) {
6363
job = {};
6464
job['status'] = e?.response?.job?.status;
6565
}

0 commit comments

Comments
 (0)