Skip to content

Commit ee6f82c

Browse files
authored
feat(executor): add query param to getRules fn (#25)
* Fix: add ruleIds and fields to parameter * Fix: change parameters to query
1 parent 1f88dcb commit ee6f82c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/Services/executor.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ class Executor extends Request {
2323
}
2424

2525
/**
26-
* @param {string} applicationId
27-
* @param {string} userId
26+
* @param {string} applicationId
27+
* @param {string} userId
28+
* @param {Object} query
2829
*/
29-
getRules(applicationId, userId) {
30+
getRules(applicationId, userId, query) {
3031
const path = `/rules`;
31-
const query = this.setTenant(applicationId, userId);
32-
32+
query = this.setTenant(applicationId, userId, query);
3333
return this.send('GET', path, { query });
3434
}
3535

0 commit comments

Comments
 (0)