Skip to content

Commit

Permalink
fix(call-log): update getCallLog signature
Browse files Browse the repository at this point in the history
  • Loading branch information
VoltX committed Jan 30, 2018
1 parent 4b9cf17 commit 61c0ecf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/@ionic-native/plugins/call-log/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ export class CallLog extends IonicNativePlugin {

/**
* This function return the call logs
* @param dateFrom {string} get logs from this date (format yyyy-MM-dd)
* @param dateTo {string} get logs until this date (format yyyy-MM-dd)
* @param filters {object[]} array of object to filter the query
* Object must respect this structure {'name':'...', 'value': '...', 'operator': '=='}
* (see https://github.com/creacore-team/cordova-plugin-calllog for more details)
* @return {Promise<any>}
*/
@Cordova()
getCallLog(dateFrom: string, dateTo: string, filters: object[]): Promise<any> { return; }
getCallLog(filters: object[]): Promise<any> { return; }

/**
* Check permission
Expand Down

0 comments on commit 61c0ecf

Please sign in to comment.