diff --git a/docs/snippets/templates/script.ts b/docs/snippets/templates/script.ts index a18dc3fb..38db1dc3 100644 --- a/docs/snippets/templates/script.ts +++ b/docs/snippets/templates/script.ts @@ -36,7 +36,7 @@ const campaign: CreateCampaignArgs = { version: 1, reward: 1, maxTaskTime: 1, - qualitications: [], + qualifications: [], }, }; diff --git a/src/actions/tasks/campaigns/createCampaign.ts b/src/actions/tasks/campaigns/createCampaign.ts index bbbd7c0b..c2e63f1d 100644 --- a/src/actions/tasks/campaigns/createCampaign.ts +++ b/src/actions/tasks/campaigns/createCampaign.ts @@ -40,7 +40,7 @@ export type CreateCampaignArgs = { campaign: CampaignInfo & { reward: number; maxTaskTime: number; - qualitications?: Quali[]; + qualifications?: Quali[]; }; }; @@ -70,7 +70,7 @@ export const createCampaign = async ({ }, payer: client.session.actor.toString(), content: { field_0: 0, field_1: hash }, - qualis: campaign.qualitications ?? [], + qualis: campaign.qualifications ?? [], owner: ["name", client.session.actor.toString()], }, }),