mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
fix error
This commit is contained in:
@@ -65,7 +65,7 @@ export async function insertDB(certificateData: CertificateData) {
|
||||
return;
|
||||
}
|
||||
|
||||
const result = await prisma[tableName].upsert({
|
||||
const result = await (prisma[tableName] as any).upsert({
|
||||
where: { id: certificateData.id },
|
||||
update: {
|
||||
// Overwrite all fields with new data
|
||||
|
||||
Reference in New Issue
Block a user