Skip to content

Commit 68eae17

Browse files
committed
fix: format
1 parent 688ab79 commit 68eae17

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

site/src/api/api.ts

+5-3
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";
@@ -392,7 +394,7 @@ export class MissingBuildParameters extends Error {
392394
* lexical scope.
393395
*/
394396
class ApiMethods {
395-
constructor(protected readonly axios: AxiosInstance) { }
397+
constructor(protected readonly axios: AxiosInstance) {}
396398

397399
login = async (
398400
email: string,

0 commit comments

Comments
 (0)