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

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Feb 18, 2023
1 parent ac0968e commit 8effe90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -58,7 +58,7 @@ class UsernameToken {
return typeof this._sha1encoding === "undefined"
? this._base64(buf)
: // workaround for emarsys bad implementation
this._base64ForString(buf.toString(this._sha1encoding));
this._base64ForString(buf.toString(this._sha1encoding));
}

public getUsername(): string {
Expand Down Expand Up @@ -98,7 +98,7 @@ class UsernameToken {
}

private _base64ForString(s: string): string {
return this._base64(Buffer.from(s, 'utf-8'));
return this._base64(Buffer.from(s, "utf-8"));
}

private _newCreated(): string {
Expand Down

0 comments on commit 8effe90

Please sign in to comment.