Skip to content

Commit f2c1206

Browse files
committed
fix(js): correct archiveAllRead endpoint URL to match server implementation
1 parent 9dfd667 commit f2c1206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/js/src/api/inbox-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class InboxService {
158158
}
159159

160160
archiveAllRead({ tags, data }: { tags?: string[]; data?: Record<string, unknown> }): Promise<void> {
161-
return this.#httpClient.post(`${INBOX_NOTIFICATIONS_ROUTE}/archive/read`, {
161+
return this.#httpClient.post(`${INBOX_NOTIFICATIONS_ROUTE}/read-archive`, {
162162
tags,
163163
data: data ? JSON.stringify(data) : undefined,
164164
});

0 commit comments

Comments
 (0)