add commitCreateStakeRemoveRequestMutation

This commit is contained in:
João Geonizeli
2021-08-28 00:28:29 -03:00
parent 3967e182cf
commit 5a3bae9c65
25 changed files with 599 additions and 120 deletions

View File

@@ -33,6 +33,10 @@ class StakeOrder < ApplicationRecord
validates :pool_name, presence: true
validates :amount, presence: true
def self.ransackable_attributes(auth_object = nil)
super & ["pool_name", "amount"]
end
private
def notification_message