Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikuzn committed Nov 28, 2023
1 parent c951a7b commit e12812e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
use Espo\Core\Exceptions\Forbidden;
use Espo\Entities\User;
use Espo\Modules\RealEstate\Tools\Matches\ConfigurationService;
use stdClass;

class RealEstateMatchingConfiguration
{
Expand All @@ -56,7 +57,7 @@ public function __construct(
* @throws Forbidden
* @throws Error
*/
public function putActionUpdate(Request $request): bool
public function putActionUpdate(Request $request): stdClass
{
if (!$this->user->isAdmin()) {
throw new Forbidden();
Expand All @@ -68,6 +69,6 @@ public function putActionUpdate(Request $request): bool

$this->dataManager->rebuild();

return true;
return (object) [];
}
}

0 comments on commit e12812e

Please sign in to comment.