Skip to content

Commit

Permalink
Add context to onAuthenticatePayload (ueberdosis#719)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Haines <[email protected]>
  • Loading branch information
haines authored and TalhaASiddiqi committed Feb 1, 2024
1 parent 4e8bc4b commit e41b7e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export interface onStatelessPayload {
// @todo Change 'connection' to 'connectionConfig' in next major release
// see https://github.com/ueberdosis/hocuspocus/pull/607#issuecomment-1553559805
export interface onAuthenticatePayload {
context: any,
documentName: string,
instance: Hocuspocus,
requestHeaders: IncomingHttpHeaders,
Expand Down

0 comments on commit e41b7e4

Please sign in to comment.