MCPcopy Create free account
hub / github.com/dailydotdev/apps / changeSquadPlan

Function changeSquadPlan

packages/shared/src/graphql/squadSubscription.ts:259–266  ·  view source on GitHub ↗
({
  sourceId,
  plan,
}: {
  sourceId: string;
  plan: SquadPlan;
})

Source from the content-addressed store, hash-verified

257
258// Picking the current plan undoes a scheduled downgrade
259export 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 });

Callers 1

changeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected