Skip to content

Commit 3255297

Browse files
committed
sync
1 parent 741244b commit 3255297

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • packages/console/app/src/routes/zen/util

packages/console/app/src/routes/zen/util/handler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ export async function handler(
238238
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID)
239239
return
240240
}
241+
if (v === "$org") {
242+
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID.replace("wrk_", "org_"))
243+
return
244+
}
241245
headers.set(k, v)
242246
})
243247
headers.delete("host")

0 commit comments

Comments
 (0)