Skip to content

Commit 2082fab

Browse files
ArchILLtectCopilot
andauthored
Update src/lib/api.ts
fix(debug): console.log statement replaced with console.debug for consistency Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 833391c commit 2082fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function api<T>(path: string, init: RequestInit = {}): Promise<T> {
4040
const url = buildUrl(path);
4141
if (import.meta.env.DEV && import.meta.env.VITE_API_DEBUG_AUTH) {
4242
// concise dev log (avoid dumping the whole body as an object wrapper)
43-
console.log(url);
43+
console.debug(url);
4444
}
4545
const res = await fetch(url, {
4646
credentials: "include", // ensure cookies (SBSESSION) are sent

0 commit comments

Comments
 (0)