From 939567f7c09e1b7bfb551e5f12271c9211608959 Mon Sep 17 00:00:00 2001 From: Sharon Dcruz Date: Tue, 19 Aug 2025 05:39:54 +0000 Subject: [PATCH] notification-bug-fix (#91) Reviewed-on: https://git.cosqnet.com/cosqnet/fitlien-services/pulls/91 Reviewed-by: Allen T J Co-authored-by: Sharon Dcruz Co-committed-by: Sharon Dcruz --- firestore.indexes.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/firestore.indexes.json b/firestore.indexes.json index ef951a9..c4bf41d 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -1,15 +1,15 @@ { "indexes": [ { - "collectionGroup": "day_pass_entries", + "collectionGroup": "gyms", "queryScope": "COLLECTION", "fields": [ { - "fieldPath": "bookingId", + "fieldPath": "userId", "order": "ASCENDING" }, { - "fieldPath": "entryDate", + "fieldPath": "name", "order": "ASCENDING" } ] @@ -24,20 +24,20 @@ }, { "fieldPath": "createdAt", - "order": "ASCENDING" + "order": "DESCENDING" } ] }, { "collectionGroup": "gyms", - "queryScope": "COLLECTION", + "queryScope": "COLLECTION_GROUP", "fields": [ { - "fieldPath": "userId", + "fieldPath": "isApproved", "order": "ASCENDING" }, { - "fieldPath": "name", + "fieldPath": "createdAt", "order": "ASCENDING" } ]