Merge pull request #10597 from ptibogxiv/patch-112

Fix delete contact
This commit is contained in:
Laurent Destailleur 2019-02-14 13:37:16 +01:00 committed by GitHub
commit 52472531f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -451,13 +451,13 @@ class Proposals extends DolibarrApi
return $this->propal;
}
/**
/**
* Delete a contact type of given commercial proposal
*
* @param int $id Id of commercial proposal to update
* @param int $rowid Row key of the contact in the array contact_ids.
*
* @url DELETE {id}/contact/{lineid}
* @url DELETE {id}/contact/{rowid}
*
* @return int
* @throws 401