Skip to content

Commit 5464da0

Browse files
committed
Authorization::skip to $this->getAuthorization()->skip
1 parent 61d0662 commit 5464da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ protected function refetchDocuments(Document $collection, array $documents): arr
742742
$docIds = array_map(fn ($doc) => $doc->getId(), $documents);
743743

744744
// Fetch fresh copies with computed operator values
745-
$refetched = Authorization::skip(fn () => $this->silent(
745+
$refetched = $this->getAuthorization()->skip(fn () => $this->silent(
746746
fn () => $this->find($collection->getId(), [Query::equal('$id', $docIds)])
747747
));
748748

0 commit comments

Comments
 (0)