Skip to content

Commit

Permalink
Update schema sent to format to also be JSON as engines now expects p…
Browse files Browse the repository at this point in the history
…er 5.13.0
  • Loading branch information
Druue committed Apr 23, 2024
1 parent 5db2168 commit b4bb290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function format(
})
}

return prismaSchemaWasm.format(schema, JSON.stringify(options))
return prismaSchemaWasm.format(JSON.stringify(schema), JSON.stringify(options))
} catch (e) {
const err = e as Error

Expand Down

0 comments on commit b4bb290

Please sign in to comment.