app/libs/agilibox/fcm/request.rb in agilibox-1.9.5 vs app/libs/agilibox/fcm/request.rb in agilibox-1.9.6

- old
+ new

@@ -37,10 +37,10 @@ def error? !ok? end def errors - response_json[:results].map { |r| r[:error] }.compact + response_json[:results].pluck(:error).compact end def invalid_token? errors.include?("NotRegistered") || errors.include?("InvalidRegistration") end