Skip to content

Commit e80f754

Browse files
run 'npm run lint' again on new changes
1 parent 2f54d78 commit e80f754

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

packages/web-bot-auth/src/index.ts

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,11 @@ export function signatureHeaders<
110110
signer: httpsig.Signer,
111111
params: SignatureParams
112112
): Promise<httpsig.SignatureHeaders> {
113-
return httpsig.signatureHeaders(
114-
message,
115-
{
116-
signer,
117-
keyid: signer.keyid,
118-
...getSigningOptions(message, params)
119-
}
120-
);
113+
return httpsig.signatureHeaders(message, {
114+
signer,
115+
keyid: signer.keyid,
116+
...getSigningOptions(message, params),
117+
});
121118
}
122119

123120
export function signatureHeadersSync<
@@ -127,14 +124,11 @@ export function signatureHeadersSync<
127124
signer: httpsig.SignerSync,
128125
params: SignatureParams
129126
): httpsig.SignatureHeaders {
130-
return httpsig.signatureHeadersSync(
131-
message,
132-
{
133-
signer,
134-
keyid: signer.keyid,
135-
...getSigningOptions(message, params)
136-
}
137-
);
127+
return httpsig.signatureHeadersSync(message, {
128+
signer,
129+
keyid: signer.keyid,
130+
...getSigningOptions(message, params),
131+
});
138132
}
139133

140134
export type Verify<T> = (

0 commit comments

Comments
 (0)