Skip to content

Commit

Permalink
[fix] apply suggestions by gitroll
Browse files Browse the repository at this point in the history
  • Loading branch information
glennfaison authored Jul 20, 2024
1 parent ddbe665 commit 931361a
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 931361a

Please sign in to comment.