Skip to content

Commit 5931fa6

Browse files
committed
fix saveServers response having wrong type
1 parent a7c4567 commit 5931fa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/ServerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function saveServer($server): JSONResponse
178178
public function saveServers($servers): array
179179
{
180180
if (!$this->_userId) {
181-
return new JSONResponse(["message" => "missing user id"], Http::STATUS_BAD_REQUEST);
181+
return [];
182182
}
183183

184184
foreach ($servers as $server) {

0 commit comments

Comments
 (0)