This commit is contained in:
phyusin
2018-08-07 10:43:40 +06:30
parent b933f959f6
commit 456bb61f61
3 changed files with 40 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ class Api::SoundEffectController < Api::ApiController
end
ActionCable.server.broadcast "sound_effect_channel",data: {status: params[:status], message: params[:message]},shop_code: shop_code,from:from,audio:audio
else
render :json => { :status => true, :message => "Something wrongs!" }
render :json => { :status => false, :message => "Something wrongs!" }
end
end
#sound effect / alarm api for doemal side calling