Skip to content

Commit

Permalink
[fix] apply suggestions by gitroll (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennfaison authored Jul 20, 2024
1 parent eef5089 commit 6affbc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/user-provisioning.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ const defaultContentType = 'application/json';
class UserProvisioningAPI {
constructor () {
// Ensure there is only ever one instance of this class in the runtime
if (UserProvisioningAPI.singleton) { return UserProvisioningAPI.singleton; }
UserProvisioningAPI.singleton = this;
if (!UserProvisioningAPI.singleton) {
UserProvisioningAPI.singleton = this;
}
}

/**
Expand Down

0 comments on commit 6affbc6

Please sign in to comment.