fix: cast TipTapDoc to InputJsonValue for Prisma compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
94a5c1bccc
commit
9735be83ff
|
|
@ -54,7 +54,7 @@ async function backfillNotes() {
|
||||||
await prisma.note.update({
|
await prisma.note.update({
|
||||||
where: { id: note.id },
|
where: { id: note.id },
|
||||||
data: {
|
data: {
|
||||||
bodyJson,
|
bodyJson: bodyJson as unknown as Prisma.InputJsonValue,
|
||||||
bodyMarkdown,
|
bodyMarkdown,
|
||||||
bodyFormat: 'html',
|
bodyFormat: 'html',
|
||||||
cardType,
|
cardType,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue