Remove redundant return

This commit is contained in:
Justin Edmund 2025-02-07 02:22:47 -08:00
parent 09dc344e35
commit 59be9d80d2

View file

@ -92,7 +92,7 @@ module Api
# Deletes a party if the user has permission
# @return [void]
def destroy
return render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
end
# == Extended Party Actions