Keep params order in sync between @parm, @url annotations and function signature.
This commit is contained in:
parent
cc7ca8c7fa
commit
e035a688f0
@ -1156,7 +1156,7 @@ class Thirdparties extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url DELETE {id}/bankaccounts/{bankaccount_id}
|
* @url DELETE {id}/bankaccounts/{bankaccount_id}
|
||||||
*/
|
*/
|
||||||
function deleteCompanyBankAccount($bankaccount_id, $id)
|
function deleteCompanyBankAccount($id, $bankaccount_id)
|
||||||
{
|
{
|
||||||
if(! DolibarrApiAccess::$user->rights->societe->creer) {
|
if(! DolibarrApiAccess::$user->rights->societe->creer) {
|
||||||
throw new RestException(401);
|
throw new RestException(401);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user