This commit is contained in:
2025-09-03 11:32:56 +02:00
parent ade2d6ef9d
commit df880874e3
5 changed files with 297 additions and 60 deletions
+3 -1
View File
@@ -411,7 +411,9 @@ exports.getSunoTimestamps = onCall(async ({ data = {} }) => {
.doc(projectId)
.set(
{
[`musicTimestamps.${index}`]: dataToReturn,
musicTimestamps: {
[musicIndex]: dataToReturn,
},
updatedAt: admin.firestore.FieldValue.serverTimestamp(),
},
{ merge: true }