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,
|
||||
created_at: new Date(),
|
||||
created_by_email: createdByEmail,
|
||||
updated_at: null,
|
||||
});
|
||||
const ref = await addDoc(typedCollection(collectionPath), particle);
|
||||
return ref.id;
|
||||
|
||||
Reference in New Issue
Block a user