diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 01:58:20 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-19 01:58:20 +0300 |
commit | 558dd811971776fc4a921b79296f5d792b245686 (patch) | |
tree | 03276f73e69391fe8f9377f7d672cb2dd8ea710e /lib/api/internal.rb | |
parent | 833d4dddf2fc3a933a28b4deb60ef6a3dc7eb0fb (diff) |
Improve broadcast message API
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 04ff049989b..ba3fe619b92 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -73,6 +73,8 @@ module API get "/broadcast_message" do if message = BroadcastMessage.current present message, with: Entities::BroadcastMessage + else + {} end end end |