mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fix collection context
This commit is contained in:
parent
c86b35fbb3
commit
4493131d86
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ abstract class Action extends UtopiaAction
|
|||
|
||||
public function setHttpPath(string $path): UtopiaAction
|
||||
{
|
||||
// Context is automatically set by Documents/Action.php setHttpPath for tablesdb paths
|
||||
if (\str_contains($path, '/tablesdb')) {
|
||||
$this->context = TABLES;
|
||||
}
|
||||
|
||||
return parent::setHttpPath($path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue