Skip to content

Commit 75cc38b

Browse files
jablkoG-Rath
andauthored
Apply suggestions from code review
Co-authored-by: Gareth Jones <Jones258@Gmail.com>
1 parent a1197d7 commit 75cc38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Webhooks<
4646
throw new Error("[@octokit/webhooks] options.secret required");
4747
}
4848

49-
const state = {
49+
const state: State & { secret: string }= {
5050
eventHandler: createEventHandler(options),
5151
path: options.path || "/",
5252
secret: options.secret,

0 commit comments

Comments
 (0)