Skip to content

Commit ca4d203

Browse files
committed
fix: fix format
1 parent c59d300 commit ca4d203

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

site/src/api/api.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ export const watchBuildLogsByTemplateVersionId = (
187187

188188
const proto = location.protocol === "https:" ? "wss:" : "ws:";
189189
const socket = new WebSocket(
190-
`${proto}//${location.host
190+
`${proto}//${
191+
location.host
191192
}/api/v2/templateversions/${versionId}/logs?${searchParams.toString()}`,
192193
);
193194

@@ -269,7 +270,8 @@ export const watchBuildLogsByBuildId = (
269270
}
270271
const proto = location.protocol === "https:" ? "wss:" : "ws:";
271272
const socket = new WebSocket(
272-
`${proto}//${location.host
273+
`${proto}//${
274+
location.host
273275
}/api/v2/workspacebuilds/${buildId}/logs?${searchParams.toString()}`,
274276
);
275277
socket.binaryType = "blob";
@@ -380,7 +382,7 @@ export class MissingBuildParameters extends Error {
380382
* lexical scope.
381383
*/
382384
class ApiMethods {
383-
constructor(protected readonly axios: AxiosInstance) { }
385+
constructor(protected readonly axios: AxiosInstance) {}
384386

385387
login = async (
386388
email: string,

0 commit comments

Comments
 (0)