diff --git a/src/Keboola/StorageApi/Client.php b/src/Keboola/StorageApi/Client.php index d62f2779a..ddddf5747 100644 --- a/src/Keboola/StorageApi/Client.php +++ b/src/Keboola/StorageApi/Client.php @@ -697,17 +697,13 @@ public function createTableSnapshot($tableId, $snapshotDescription = null) */ public function updateTable($tableId, $options) { - $url = "storage/tables/" . $tableId; - $allowedOptions = [ 'displayName', ]; $filteredOptions = array_intersect_key($options, array_flip($allowedOptions)); - $url .= '?' . http_build_query($filteredOptions); - - $result = $this->apiPut($url); + $result = $this->apiPut('storage/tables/' . $tableId, $filteredOptions); $this->log("Table {$tableId} updated"); return $result['id']; }