updated json response
This commit is contained in:
parent
20084057cf
commit
a06faaebfb
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ curl http://localhost/api/v1/online_notifications -v -u #{login}:#{password} -H
|
||||||
notifications.each do |notification|
|
notifications.each do |notification|
|
||||||
OnlineNotification.seen({:id => notification['id']})
|
OnlineNotification.seen({:id => notification['id']})
|
||||||
end
|
end
|
||||||
render :json => {data:'all cool'}
|
render :json => {data:'ok'}
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue