Skip to content

Commit

Permalink
chore: isAIAction uses the wrong interface (#33171)
Browse files Browse the repository at this point in the history
## Description
Fix type for isAIAction.


Fixes #33170  

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [X] No
  • Loading branch information
vhemery committed May 14, 2024
1 parent 36eaf3b commit b3ea6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/entities/Action/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export function isSaaSAction(action: Action): action is SaaSAction {
return action.pluginType === PluginType.SAAS;
}

export function isAIAction(action: Action): action is SaaSAction {
export function isAIAction(action: Action): action is AIAction {
return action.pluginType === PluginType.AI;
}

Expand Down

0 comments on commit b3ea6e2

Please sign in to comment.