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({
|
||||
where: { id: note.id },
|
||||
data: {
|
||||
bodyJson,
|
||||
bodyJson: bodyJson as unknown as Prisma.InputJsonValue,
|
||||
bodyMarkdown,
|
||||
bodyFormat: 'html',
|
||||
cardType,
|
||||
|
|
|
|||
Loading…
Reference in New Issue