mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fix index context
This commit is contained in:
parent
68bf4a6f44
commit
425d424e7c
1 changed files with 3 additions and 2 deletions
|
|
@ -19,8 +19,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 = COLUMN_INDEX;
|
||||
}
|
||||
return parent::setHttpPath($path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue