update addor for set instance api for addorder and paymal paymant

This commit is contained in:
Aung Myo
2018-04-19 16:55:49 +06:30
parent f8a247c61a
commit ed025800c4
7 changed files with 63 additions and 8 deletions

View File

@@ -13,8 +13,8 @@ module TokenVerification
authenticate_token || render_unauthorized
end
def authenticate_token
authenticate_with_http_token do |token, options|
def authenticate_token
authenticate_with_http_token do |token, options|
# Rails.logger.debug "token - " + token.to_s
if(options.length !=0 && options["from"] == "DOEMAL")
if(ENV["SERVER_MODE"] === "cloud")