fix bug logger is not defined

This commit is contained in:
thanawat saiyota 2026-07-02 12:52:08 +07:00
parent 3cda8aa60b
commit 55ec9a29f9
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import { json, error } from '@sveltejs/kit'; import { json, error } from '@sveltejs/kit';
import type { RequestHandler } from './$types'; import type { RequestHandler } from './$types';
import { env } from '$env/dynamic/public'; import { env } from '$env/dynamic/public';
import {logger} from '$lib/core/utils/logger'
// New promo catalogs are created by the same taobin_image service as menu images. // New promo catalogs are created by the same taobin_image service as menu images.
const API_BASE = env.PUBLIC_POST_IMAGE; const API_BASE = env.PUBLIC_POST_IMAGE;

View file

@ -1,6 +1,7 @@
import { json, error } from '@sveltejs/kit'; import { json, error } from '@sveltejs/kit';
import type { RequestHandler } from './$types'; import type { RequestHandler } from './$types';
import { env } from '$env/dynamic/public'; import { env } from '$env/dynamic/public';
import {logger} from '$lib/core/utils/logger'
// Main-page advertisement videos are wired into video/script1.ev by the same // Main-page advertisement videos are wired into video/script1.ev by the same
// taobin_image service that handles menu images / promo catalogs. // taobin_image service that handles menu images / promo catalogs.