mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-07 22:23:24 +00:00
chore: generate
This commit is contained in:
parent
dc898ca2c3
commit
69f2cbaa3a
1 changed files with 2 additions and 1 deletions
|
|
@ -198,7 +198,8 @@ export async function handler(
|
|||
if (typeof v === "object") return [[k, replacer(v)]]
|
||||
if (typeof v === "string") {
|
||||
if (v === "$workspace") return authInfo?.workspaceID ? [[k, authInfo.workspaceID]] : []
|
||||
if (v === "$org") return authInfo?.workspaceID ? [[k, authInfo.workspaceID.replace("wrk_", "org_")]] : []
|
||||
if (v === "$org")
|
||||
return authInfo?.workspaceID ? [[k, authInfo.workspaceID.replace("wrk_", "org_")]] : []
|
||||
if (v === "$user") return stickyId ? [[k, stickyId]] : []
|
||||
if (v.startsWith("$header.")) {
|
||||
const headerValue = input.request.headers.get(v.slice(8))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue