update fix import path,
This commit is contained in:
@@ -2,7 +2,7 @@ import { COL_QUIZ_LP_CATEGORIES } from '@/constants';
|
||||
import type { RecordModel } from 'pocketbase';
|
||||
|
||||
import { pb } from '@/lib/pb';
|
||||
import { CreateFormProps } from '@/components/dashboard/lp_categories/type';
|
||||
import { CreateFormProps } from '@/components/dashboard/lp/categories/type';
|
||||
|
||||
export default function createQuizLPCategory(data: CreateFormProps): Promise<RecordModel> {
|
||||
return pb.collection(COL_QUIZ_LP_CATEGORIES).create(data);
|
||||
|
@@ -2,7 +2,7 @@ import { COL_QUIZ_LP_QUESTIONS } from '@/constants';
|
||||
import type { RecordModel } from 'pocketbase';
|
||||
|
||||
import { pb } from '@/lib/pb';
|
||||
import { CreateFormProps } from '@/components/dashboard/lp_questions/type';
|
||||
import type { CreateFormProps } from '@/components/dashboard/lp/questions/type';
|
||||
|
||||
// interface CreateForm {
|
||||
// // TODO: Add QuizLPQuestions fields
|
||||
|
Reference in New Issue
Block a user