import { prisma } from '../prisma.js';

export async function markVoiceExperienceFailed(experienceId: string) {
  await prisma.voiceExperience.update({
    where: { id: experienceId },
    data: { status: 'FAILED' },
  });

  return { ok: true };
}
