2
0
forked from Wavyzz/dolibarr

FIX API REST setup

bad words
This commit is contained in:
ptibogxiv
2022-02-12 17:08:43 +01:00
committed by GitHub
parent b98f547c4a
commit a5a8f30939

View File

@@ -1774,7 +1774,7 @@ class Setup extends DolibarrApi
$result = $establishment->fetch($id);
if ($result < 0) {
throw new RestException(503, 'Error when retrieving state : '.$establishment->error);
throw new RestException(503, 'Error when retrieving establishment : '.$establishment->error);
} elseif ($result == 0) {
throw new RestException(404, 'Establishment not found');
}