mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06: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
|
||||
{
|
||||
return $this->GenericErrorResponse($response, $ex->getMessage());
|
||||
return $this->GenericErrorResponse($response, "Invalid entity");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user