Skip to content

Commit 69f2cba

Browse files
chore: generate
1 parent dc898ca commit 69f2cba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ export async function handler(
198198
if (typeof v === "object") return [[k, replacer(v)]]
199199
if (typeof v === "string") {
200200
if (v === "$workspace") return authInfo?.workspaceID ? [[k, authInfo.workspaceID]] : []
201-
if (v === "$org") return authInfo?.workspaceID ? [[k, authInfo.workspaceID.replace("wrk_", "org_")]] : []
201+
if (v === "$org")
202+
return authInfo?.workspaceID ? [[k, authInfo.workspaceID.replace("wrk_", "org_")]] : []
202203
if (v === "$user") return stickyId ? [[k, stickyId]] : []
203204
if (v.startsWith("$header.")) {
204205
const headerValue = input.request.headers.get(v.slice(8))

0 commit comments

Comments
 (0)