Skip to content

Commit

Permalink
updated json example value, contains and list rule msg
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-crest committed Jun 26, 2023
1 parent 471e14d commit 0c404ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion office365.json
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@
"data_path": "action_result.message",
"data_type": "string",
"example_values": [
"Successfully retrieved inbox rules"
"Successfully retrieved 7 rules"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion office365_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@ def _handle_list_rules(self, param):

return action_result.set_status(
phantom.APP_SUCCESS,
"Successfully retrieved {} rule {}".format(
"Successfully retrieved {} rule{}".format(
num_rules, "" if num_rules == 1 else "s"
),
)
Expand Down
2 changes: 1 addition & 1 deletion office365_get_rule.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h4 class="wf-h4-style">Action Parameters</h4>
</tr>
<tr>
<td>Rule ID</td>
<td><a href="javascript:;" onclick="context_menu(this, [{'contains': ['email'],
<td><a href="javascript:;" onclick="context_menu(this, [{'contains': ['msgoffice365 rule id'],
'value': '{{ result.param.rule_id }}' }], 0, {{ container.id }}, null, false);">
{{ result.param.rule_id}}
&nbsp;
Expand Down

0 comments on commit 0c404ab

Please sign in to comment.