({
sourceId,
plan,
}: {
sourceId: string;
plan: SquadPlan;
})
| 257 | |
| 258 | // Picking the current plan undoes a scheduled downgrade |
| 259 | export const changeSquadPlan = async ({ |
| 260 | sourceId, |
| 261 | plan, |
| 262 | }: { |
| 263 | sourceId: string; |
| 264 | plan: SquadPlan; |
| 265 | }): Promise<EmptyResponse> => |
| 266 | gqlClient.request(CHANGE_SQUAD_PLAN_MUTATION, { sourceId, plan }); |