diff --git a/src/app/(campaign)/campanha/actions/votePledge.ts b/src/app/(campaign)/campanha/actions/votePledge.ts index 8d012c57..ad895cb5 100644 --- a/src/app/(campaign)/campanha/actions/votePledge.ts +++ b/src/app/(campaign)/campanha/actions/votePledge.ts @@ -222,11 +222,6 @@ export const estimateVotesRecord = async ( ) } -export const estimateVotes = async (input: EstimateVotesInput) => { - const { payload, actor } = await getCampaignActionContext() - return estimateVotesRecord(payload, actor, input) -} - /** * OH6 — estimate with optional CAS on `estimatedAt`. Without `baseEstimatedAt` * this matches `estimateVotes` (last-write-wins). With a base, a stale token diff --git a/src/lib/schemas/votePledge.ts b/src/lib/schemas/votePledge.ts index 4379ce2f..8d43c5e1 100644 --- a/src/lib/schemas/votePledge.ts +++ b/src/lib/schemas/votePledge.ts @@ -100,10 +100,5 @@ export const VOTE_PLEDGE_DECLARE_SAFE_MESSAGES = [ OPS_UPDATED_AT_CONFLICT_MESSAGE, ] as const -export const VOTE_PLEDGE_ESTIMATE_SAFE_MESSAGES = [ - VOTE_PLEDGE_ESTIMATE_STAFF_MESSAGE, - OPS_ESTIMATE_CONFLICT_MESSAGE, -] as const - export type DeclareVotesInput = z.input export type EstimateVotesInput = z.input