From a888157d33cb552d7672669559a508ab62e9068e Mon Sep 17 00:00:00 2001 From: "Najjar\\NajjarV02" Date: Fri, 22 May 2026 11:38:21 +0400 Subject: [PATCH] fix(api): correct typo in comments regarding workspace API installation --- apps/dashboard/shared/api.ts | 2 +- packages/api/src/api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/shared/api.ts b/apps/dashboard/shared/api.ts index 82e694c..6529f0b 100644 --- a/apps/dashboard/shared/api.ts +++ b/apps/dashboard/shared/api.ts @@ -5,7 +5,7 @@ import { getAuthCookies, getWorkspaceContext } from "@/modules/auth/auth.actions * Returns an authenticated API client for server-side use (server actions, RSC). * * Server-side calls bypass the /api/proxy route — the server already has - * cookie access and can talk to the workspace's repareenew install directly. + * cookie access and can talk to the workspace's api install directly. * Browser-side code should use the singleton `api` from @garage/api, which * defaults to baseUrl="/api/proxy" and gets workspace context from cookies * via the proxy route. diff --git a/packages/api/src/api.ts b/packages/api/src/api.ts index df75b31..6c81d61 100644 --- a/packages/api/src/api.ts +++ b/packages/api/src/api.ts @@ -68,7 +68,7 @@ export type CreateApiOptions = ApiClientOptions & { baseUrl?: string } * the build-time NEXT_PUBLIC_API_URL never reaches the client. * * Server-side callers (server actions, RSC) can opt out by passing - * `{ baseUrl: }` from a cookie. + * `{ baseUrl: }` from a cookie. */ const DEFAULT_BASE_URL = "/api/proxy"