app/controllers/avo/actions_controller.rb in avo-3.0.1.beta19 vs app/controllers/avo/actions_controller.rb in avo-3.0.1.beta20
- old
+ new
@@ -96,10 +96,10 @@
end
def decrypted_query
return if (encrypted_query = action_params[:fields][:avo_selected_query]).blank?
- Marshal.load(Avo::Services::EncryptionService.decrypt(message: encrypted_query, purpose: :select_all))
+ Avo::Services::EncryptionService.decrypt(message: encrypted_query, purpose: :select_all, serializer: Marshal)
end
def decrypted_arguments
arguments = params[:arguments] || params.dig(:fields, :arguments)
return if arguments.blank?