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) =>
|
const getCharityQuery = (charityId: string) =>
|
||||||
query(
|
query(
|
||||||
txnCollection,
|
txnCollection,
|
||||||
where('toType', '==', 'charity'),
|
where('toType', '==', 'CHARITY'),
|
||||||
where('toId', '==', charityId),
|
where('toId', '==', charityId),
|
||||||
orderBy('createdTime', 'desc')
|
orderBy('createdTime', 'desc')
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user