Skip to content

Commit

Permalink
[frontend] remove useless function
Browse files Browse the repository at this point in the history
Signed-off-by: Marine LM <[email protected]>
  • Loading branch information
MarineLeM committed Jan 14, 2025
1 parent ca3fd74 commit e401dd5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions openbas-front/src/actions/scenarios/scenario-teams-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ export const searchScenarioTeams = (scenarioId: Scenario['scenario_id'], paginat
return simplePostCall(uri, paginationInput);
};

export const addScenarioTeams = (scenarioId: Scenario['scenario_id'], data: ScenarioUpdateTeamsInput) => (dispatch: Dispatch) => putReferential(
schema.arrayOfTeams,
`${SCENARIO_URI}/${scenarioId}/teams/add`,
data,
)(dispatch);

export const removeScenarioTeams = (scenarioId: Scenario['scenario_id'], data: ScenarioUpdateTeamsInput) => (dispatch: Dispatch) => putReferential(
schema.arrayOfTeams,
`${SCENARIO_URI}/${scenarioId}/teams/remove`,
Expand Down

0 comments on commit e401dd5

Please sign in to comment.