fix old card
This commit is contained in:
@@ -385,7 +385,7 @@ export async function saveMigratedCardData(
|
|||||||
createdAt: string
|
createdAt: string
|
||||||
updatedAt: string
|
updatedAt: string
|
||||||
},
|
},
|
||||||
cards: {
|
card: {
|
||||||
cid: string
|
cid: string
|
||||||
id: number
|
id: number
|
||||||
cp: number
|
cp: number
|
||||||
@@ -403,7 +403,7 @@ export async function saveMigratedCardData(
|
|||||||
const record = {
|
const record = {
|
||||||
$type: collection,
|
$type: collection,
|
||||||
user,
|
user,
|
||||||
cards,
|
card,
|
||||||
checksum,
|
checksum,
|
||||||
migratedAt: new Date().toISOString(),
|
migratedAt: new Date().toISOString(),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user