Newer
Older
taehui / taehui-fe / src / app / www / logic / want.ts
@Taehui Taehui on 18 Mar 403 bytes v1.0.0
import {
  wantComment as dbWantComment,
  wantEssay as dbWantEssay,
} from "@/app/www/system/DB";

export const wantEssay = async (
  wantInput: string,
  page: number,
  viewUnit: number,
) => {
  return dbWantEssay(wantInput, page, viewUnit);
};

export const wantComment = async (
  wantInput: string,
  page: number,
  viewUnit: number,
) => {
  return dbWantComment(wantInput, page, viewUnit);
};