Skip to content

Commit

Permalink
removed action
Browse files Browse the repository at this point in the history
  • Loading branch information
Abinaya-Shunmugavel committed Jul 31, 2023
1 parent 68899e4 commit af25097
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/resources/maskingSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ export class MaskingSession extends PlivoResource {
}
getMaskingSession(params={}) {
params.isVoiceRequest = 'true';
return super.executeAction(action + this.id, 'GET', params);
return super.executeAction(this.id, 'GET', params);
}
deleteMaskingSession(params={}) {
params.isVoiceRequest = 'true';
return super.executeAction(action + this.id, 'DELETE', params);
return super.executeAction(this.id, 'DELETE', params);
}
updateMaskingSession(params) {
params.isVoiceRequest = 'true';
return super.executeAction(action + this.id, 'POST', params);
return super.executeAction(this.id, 'POST', params);
}
}
export class MaskingSessionInterface extends PlivoResourceInterface {
Expand Down

0 comments on commit af25097

Please sign in to comment.