From 426fa3bfe22bf1b3d5a03b3a029f09f19fc4582b Mon Sep 17 00:00:00 2001 From: David Britt Date: Fri, 31 May 2024 13:48:36 -0400 Subject: [PATCH] Fix spelling qualiticaions --- docs/snippets/templates/script.ts | 2 +- src/actions/tasks/campaigns/createCampaign.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()], }, }),