Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #313 from kmcwebdev/development
Browse files Browse the repository at this point in the history
Update rejection description and set username based on email address
  • Loading branch information
csulit authored Oct 9, 2023
2 parents af70ebd + 2fb2c45 commit b620431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/finance/services/reimbursement.reject.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ReimbursementRejectService {
reimbursement_request_id:
reimbursementRequest.reimbursement_request_id,
user_id: user.original_user_id,
description: `[REJECTED]: ${data.rejection_reason}`,
description: data.rejection_reason,
})
.execute();

Expand Down
2 changes: 1 addition & 1 deletion src/users/services/users.api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class UsersApiService {
email: email,
firstName: 'Juan',
lastName: 'Dela Cruz',
username: email,
username: email.match(/([^@]+)/)[0],
password: temporaryPassword,
askUserToUpdatePasswordOnLogin: true,
sendEmailToConfirmEmailAddress: false,
Expand Down

0 comments on commit b620431

Please sign in to comment.