update and bulid ok,
This commit is contained in:
8
002_source/cms/src/db/QuizListenings/Delete.tsx
Normal file
8
002_source/cms/src/db/QuizListenings/Delete.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { COL_QUIZ_LISTENINGS } from '@/constants';
|
||||
import type { RecordModel } from 'pocketbase';
|
||||
|
||||
import { pb } from '@/lib/pb';
|
||||
|
||||
export default function deleteQuizListening(id: string): Promise<boolean> {
|
||||
return pb.collection(COL_QUIZ_LISTENINGS).delete(id);
|
||||
}
|
Reference in New Issue
Block a user