refactor: repartition server-side and client-side code
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { ActionFunctionArgs } from '@remix-run/node';
|
||||
import { getUserChatById } from '~/lib/.server/chat';
|
||||
import { prisma } from '~/lib/.server/prisma';
|
||||
import { errorResponse, successResponse } from '~/utils/api-response';
|
||||
import { getUserChatById } from '~/.server/service/chat';
|
||||
import { prisma } from '~/.server/service/prisma';
|
||||
import { errorResponse, successResponse } from '~/.server/utils/api-response';
|
||||
import { createScopedLogger } from '~/utils/logger';
|
||||
|
||||
const logger = createScopedLogger('api.chat.fork');
|
||||
|
||||
Reference in New Issue
Block a user