Include record ID

This commit is contained in:
SkyfallWasTaken 2024-07-06 16:01:08 +01:00
parent 67d3f254c0
commit ad511f35cb

View file

@ -28,7 +28,7 @@ export const shopParts = async () => {
)`
})).length;
}
return { id: record.id, ...record.fields, "Stock": stock }
return { id: record.id, ...record.fields, "Stock": stock ?? null }
})
}