Skip to content

Commit

Permalink
Used prettier to fix formatting issues, added commas after some state…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
I746264 committed Aug 20, 2024
1 parent 88cd3ce commit 811c6ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const defaultOccUserProfileConfig: OccConfig = {
endpoints: {
userRegister: 'users',
userForgotPassword: 'forgottenpasswordtokens',
userRestoreToken:'passwordRestoreToken',
userRestoreToken: 'passwordRestoreToken',
userResetPassword: 'resetpassword',
userUpdateLoginId: 'users/${userId}/login',
userUpdatePassword: 'users/${userId}/password',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('OccUserProfileAdapter', () => {
expect(mockReq.cancelled).toBeFalsy();
expect(mockReq.request.body).toEqual({
newLoginId: newUserId,
password: currentPassword
password: currentPassword,
});
mockReq.flush('');
});
Expand Down Expand Up @@ -343,7 +343,7 @@ describe('OccUserProfileAdapter', () => {
expect(mockReq.cancelled).toBeFalsy();
expect(mockReq.request.body).toEqual({
oldPassword: oldPassword,
newPassword: newPassword
newPassword: newPassword,
});
mockReq.flush('');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class OccUserProfileAdapter implements UserProfileAdapter {
});
const body = {
newLoginId: newUserId,
password: currentPassword
password: currentPassword,
};
const headers = new HttpHeaders(CONTENT_TYPE_JSON_HEADER);
return this.http.post(url, body, { headers }).pipe(
Expand All @@ -151,7 +151,7 @@ export class OccUserProfileAdapter implements UserProfileAdapter {
});
const body = {
oldPassword: oldPassword,
newPassword: newPassword
newPassword: newPassword,
};
const headers = new HttpHeaders(CONTENT_TYPE_JSON_HEADER);
return this.http.post(url, body, { headers }).pipe(
Expand Down

0 comments on commit 811c6ef

Please sign in to comment.