fix: avoid passing in updated_at to firestore particle
This commit is contained in:
@@ -130,7 +130,6 @@ export async function createParticle<T extends ParticleType>(
|
|||||||
properties,
|
properties,
|
||||||
created_at: new Date(),
|
created_at: new Date(),
|
||||||
created_by_email: createdByEmail,
|
created_by_email: createdByEmail,
|
||||||
updated_at: null,
|
|
||||||
});
|
});
|
||||||
const ref = await addDoc(typedCollection(collectionPath), particle);
|
const ref = await addDoc(typedCollection(collectionPath), particle);
|
||||||
return ref.id;
|
return ref.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user