@ -1,6 +1,6 @@
{
"name": "tentakelfabrik/pirectus",
"version": "0.1.1",
"version": "0.1.2",
"type": "library",
"license": "MIT",
"authors": [
@ -222,7 +222,7 @@ class ItemsQueryBuilder extends AbstractQueryBuilder
*/
public function aliases(string $field, string $alias)
$this->query['parameters']['alias'][$field] = $alias;
$this->query['parameters']['alias'][$alias] = $field;
return $this;
}