mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
Fix undefined variable in GenericEntityApiController.php
This commit is contained in:
parent
81d7d33127
commit
e9d6725f8a
|
|
@ -64,7 +64,7 @@ class GenericEntityApiController extends BaseApiController
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return $this->GenericErrorResponse($response, $ex->getMessage());
|
return $this->GenericErrorResponse($response, "Invalid entity");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user