Fix not reading from the right type
This commit is contained in:
parent
5bde99bc42
commit
1a29dbbe3a
|
@ -10,7 +10,7 @@ const txnCollection = collection(db, 'txns')
|
|||
const getCharityQuery = (charityId: string) =>
|
||||
query(
|
||||
txnCollection,
|
||||
where('toType', '==', 'charity'),
|
||||
where('toType', '==', 'CHARITY'),
|
||||
where('toId', '==', charityId),
|
||||
orderBy('createdTime', 'desc')
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user