From 7b84015a3b589c5cbb41f88d24d5a1f85ae1b006 Mon Sep 17 00:00:00 2001 From: Takumi Akimoto Date: Mon, 11 May 2026 13:22:40 +0900 Subject: [PATCH] chore: Fix script --- deno.jsonc | 2 +- scripts/createOauthClient.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 8815ed6..21b25c6 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -38,7 +38,7 @@ }, "tasks": { "build": "deno run -A scripts/dev.ts build", - "create-local-client": "deno run -A scripts/createOauthClient.ts >> .env", + "create-local-client": "deno run -A scripts/createOauthClient.ts", "dev": "deno run --env-file -A scripts/dev.ts" }, "unstable": [ diff --git a/scripts/createOauthClient.ts b/scripts/createOauthClient.ts index c83f4d1..3f410dd 100644 --- a/scripts/createOauthClient.ts +++ b/scripts/createOauthClient.ts @@ -1,5 +1,5 @@ -import { client } from "../traq/client.gen.ts" -import { createClient, login } from "../traq/index.ts" +import { client } from "../src/traq/client.gen.ts" +import { createClient, login } from "../src/traq/index.ts" client.setConfig({ baseUrl: "http://localhost:3000/api/v3", @@ -22,7 +22,7 @@ const clientRes = await createClient({ body: { name: "Qonstellation", description: "Test Client", - callbackUrl: "http://localhost:5173/callback", + callbackUrl: "http://localhost:8000/callback", scopes: ["read", "write"], }, headers: { -- 2.51.2