Skip to content

Commit

Permalink
chore: websocket connection string queries type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Sep 17, 2023
1 parent c6eceb3 commit 3e4078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signals/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const wsEndpointURL = () =>

export const useWsRequest = <T>(
path: string,
queries: Record<string, unknown> = {},
queries: Record<string, string> = {},
) => {
const queryParams = new URLSearchParams(queries)
queryParams.set('token', secret() ?? '')
Expand Down

0 comments on commit 3e4078d

Please sign in to comment.