Skip to content

Commit

Permalink
Fix spelling qualiticaions
Browse files Browse the repository at this point in the history
  • Loading branch information
djmbritt committed May 31, 2024
1 parent fd87ea3 commit 426fa3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/snippets/templates/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const campaign: CreateCampaignArgs = {
version: 1,
reward: 1,
maxTaskTime: 1,
qualitications: [],
qualifications: [],
},
};

Expand Down
4 changes: 2 additions & 2 deletions src/actions/tasks/campaigns/createCampaign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type CreateCampaignArgs = {
campaign: CampaignInfo & {
reward: number;
maxTaskTime: number;
qualitications?: Quali[];
qualifications?: Quali[];
};
};

Expand Down Expand Up @@ -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()],
},
}),
Expand Down

0 comments on commit 426fa3b

Please sign in to comment.