fix: correct /data API usage and data format for importing share URLs (#7381)

This commit is contained in:
Yuvraj Virk
2026-02-06 07:29:10 -08:00
committed by GitHub
parent e31c27c26b
commit c07077f96c
3 changed files with 109 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ import type * as SDK from "@opencode-ai/sdk/v2"
export namespace ShareNext {
const log = Log.create({ service: "share-next" })
async function url() {
export async function url() {
return Config.get().then((x) => x.enterprise?.url ?? "https://opncd.ai")
}