Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client-runtime): typecheck device hub ticket request on main #11304

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/11304/headmerged by juliusmarminge View on GitHub

Showing 1 changed file with 2 additions and 1 deletion.

x
0 of 1 viewed, 1 left
2 additions and 1 deletionpackages/client-runtime/src/state/deviceHubAccess.tsModified
View file
@@ -50,10 +50,11 @@
prepared: input.prepared,
signer,
remoteAuthorization,
+ group: "auth",
method: "POST",
url: (httpBaseUrl) => environmentEndpointUrl(httpBaseUrl, "/api/auth/websocket-ticket"),
timeoutMs: TICKET_TIMEOUT_MS,
- request: ({ client, headers }) => client.auth.webSocketTicket({ headers }),
+ request: ({ client, headers }) => client.webSocketTicket({ headers }),
});
return {
httpBase,