Skip to content

Commit d695588

Browse files
chore: request plaintext format from api
1 parent 474b906 commit d695588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class Inbox implements vscode.Disposable {
3535
// be an invalid URL, that would've caused issues before we got to here.
3636
const baseUrl = new URL(baseUrlRaw)
3737
const socketProto = baseUrl.protocol === "https:" ? "wss:" : "ws:"
38-
const socketUrl = `${socketProto}//${baseUrl.host}/api/v2/notifications/inbox/watch?templates=${watchTemplatesParam}&targets=${watchTargetsParam}`
38+
const socketUrl = `${socketProto}//${baseUrl.host}/api/v2/notifications/inbox/watch?format=plaintext&templates=${watchTemplatesParam}&targets=${watchTargetsParam}`
3939

4040
const coderSessionTokenHeader = "Coder-Session-Token"
4141
this.#socket = new WebSocket(new URL(socketUrl), {

0 commit comments

Comments
 (0)