Skip to content

Commit

Permalink
Fix document name when querying Firestore tasks (flutter#3585)
Browse files Browse the repository at this point in the history
Follow up of flutter#3584 to fix the query document name.
  • Loading branch information
keyonghan authored Mar 19, 2024
1 parent f817add commit 7a070f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class PostsubmitLuciSubscription extends SubscriptionHandler {
task = await datastore.lookupByValue<Task>(taskKey);
firestoreTask = await firestore.Task.fromFirestore(
firestoreService: firestoreService,
documentName: taskDocumentName,
documentName: '$kDatabase/documents/${firestore.kTaskCollectionId}/$taskDocumentName',
);
log.fine('Found $firestoreTask');

Expand Down

0 comments on commit 7a070f6

Please sign in to comment.