change: log level

Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
pakintada@gmail.com 2026-07-01 10:35:57 +07:00
parent 2395cddcdf
commit aa6414b1cc
6 changed files with 20 additions and 20 deletions

View file

@ -29,7 +29,7 @@ export const POST: RequestHandler = async ({ request }) => {
`${API_BASE}/catalog/create/${encodeURIComponent(country)}/${encodeURIComponent(uid)}` +
`/${encodeURIComponent(displayName)}/${encodeURIComponent(email)}`;
console.log('[Catalog Create Proxy] Endpoint:', endpoint, 'slug:', slug);
logger.debug('[Catalog Create Proxy] Endpoint:', endpoint, 'slug:', slug);
const upstream = new FormData();
upstream.append('slug', slug);

View file

@ -43,7 +43,7 @@ export const POST: RequestHandler = async ({ request }) => {
`${API_BASE}/video/mainpage/${encodeURIComponent(uid)}` +
`/${encodeURIComponent(displayName)}/${encodeURIComponent(email)}`;
console.log('[Video MainPage Proxy] Endpoint:', endpoint, 'name:', name);
logger.debug('[Video MainPage Proxy] Endpoint:', endpoint, 'name:', name);
const upstream = new FormData();
upstream.append('name', name);