mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: route name 😒
This commit is contained in:
@@ -21,7 +21,7 @@ class Update extends DocumentsUpdate
|
||||
|
||||
public static function getName(): string
|
||||
{
|
||||
return 'updateRow';
|
||||
return 'updateRows';
|
||||
}
|
||||
|
||||
protected function getResponseModel(): string
|
||||
|
||||
@@ -62,7 +62,7 @@ class Update extends DocumentUpdate
|
||||
contentType: ContentType::JSON
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
->param('tableId', '', new UID(), 'Collection ID.')
|
||||
->param('tableId', '', new UID(), 'Table ID.')
|
||||
->param('rowId', '', new UID(), 'Row ID.')
|
||||
->param('data', [], new JSON(), 'Row data as JSON object. Include only columns and value pairs to be updated.', true)
|
||||
->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true)
|
||||
|
||||
Reference in New Issue
Block a user