fix: Ongoing campaign URL validation (#3890)

This commit is contained in:
Muhsin Keloth
2022-02-04 14:38:18 +05:30
committed by GitHub
parent a7987d4d1c
commit a737f89c47
8 changed files with 54 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ class Api::V1::Accounts::CampaignsController < Api::V1::Accounts::BaseController
def show; end
def update
@campaign.update(campaign_params)
@campaign.update!(campaign_params)
end
private