Skip to content

Commit 2d162c9

Browse files
feat: search rules
SS-7315
1 parent 53acc9f commit 2d162c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/Services/executor.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ class Executor extends Request {
3333
return this.send('GET', path, { query });
3434
}
3535

36+
/**
37+
* @param {string} applicationId
38+
* @param {string} userId
39+
* @param {Object} query
40+
*/
41+
searchRules(applicationId, userId, query) {
42+
const path = `/rules/search`;
43+
query = this.setTenant(applicationId, userId, query);
44+
return this.send('GET', path, { query });
45+
}
46+
3647
/**
3748
* @param {string} applicationId
3849
* @param {string} userId

0 commit comments

Comments
 (0)