Fix participant delete endpoint

This commit is contained in:
rui hildt 2020-05-06 15:27:25 +02:00
parent 596baff4b3
commit 6a3c5420b0
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ function updateParticipant(data, account_id, meeting_id) {
]);
}
function deleteParticipant(id) {
return db('participant').where({ id }).del();
function deleteParticipant(account_id, meeting_id) {
return db('participant').where({ account_id, meeting_id }).del();
}
function getParticipantById(account_id, meeting_id) {