//
// PURPOSE:
// Delete specified QuizCRQuestions record
// REQ0006
//
// RULES:
// error handled by caller
// contain definition to collection only
//

import { COL_QUIZ_CR_QUESTIONS } from '@/constants';

import { pb } from '@/lib/pb';

export default function deleteQuizCRQuestions(id: string): Promise<boolean> {
  return pb.collection(COL_QUIZ_CR_QUESTIONS).delete(id);
}
