Skip to content

Commit

Permalink
Merge pull request #35 from agiledigital-labs/IE-339/remove-default-f…
Browse files Browse the repository at this point in the history
…rom-activate-user-service

IE-339/remove-default-from-activate-user-service = remove default fro…
  • Loading branch information
vuthikxkol authored Nov 17, 2023
2 parents 4838bc5 + 8e1b2e0 commit b37b6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/services/user-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ export class OktaUserService {
/**
* Activates a user in Okta.
* @param userId - the id of the user to activate
* @param sendEmail - whether to send an activation email to the user, defaults to false
* @param sendEmail - whether to send an activation email to the user
* @returns the activated user
*/
readonly activateUser = (
userId: string,
sendEmail = false
sendEmail: boolean
): TE.TaskEither<string, User> =>
TE.tryCatch(
() =>
Expand Down

0 comments on commit b37b6d5

Please sign in to comment.