Skip to content

Commit f83b43e

Browse files
committed
fix(tasks): annotate raw fetch in createChat for boundary check
1 parent 3d43a4b commit f83b43e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sim/hooks/queries/tasks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ export function useMarkTaskUnread(workspaceId?: string) {
527527
}
528528

529529
async function createChat(workspaceId: string): Promise<{ id: string }> {
530+
// boundary-raw-fetch: fire-and-forget POST inside a mutation, no shared request helper for this endpoint
530531
const response = await fetch('/api/mothership/chats', {
531532
method: 'POST',
532533
headers: { 'Content-Type': 'application/json' },

0 commit comments

Comments
 (0)