Skip to content

Commit 2f3db57

Browse files
committed
Fix API endpoint
1 parent 46ec04f commit 2f3db57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websocket/webSocketClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class CoderWebSocketClient {
6464
watchBuildLogsByBuildId = (buildId: string, logs: ProvisionerJobLog[]) => {
6565
const searchParams = new URLSearchParams({ follow: "true" });
6666
if (logs.length) {
67-
searchParams.append("after", logs[logs.length - 1].toString());
67+
searchParams.append("after", logs[logs.length - 1].id.toString());
6868
}
6969

7070
const socket = this.createWebSocket<ProvisionerJobLog>({

0 commit comments

Comments
 (0)