it is service, not services
This commit is contained in:
parent
81022ea7b4
commit
8924ebffff
|
@ -23,13 +23,13 @@ class Travis::Api::App
|
||||||
end
|
end
|
||||||
|
|
||||||
put '/:id?', scope: :private do
|
put '/:id?', scope: :private do
|
||||||
services(:user).update_locale(locale)
|
service(:user).update_locale(locale)
|
||||||
204
|
204
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: Add implementation and documentation.
|
# TODO: Add implementation and documentation.
|
||||||
post '/sync', scope: :private do
|
post '/sync', scope: :private do
|
||||||
services(:user).sync
|
service(:user).sync
|
||||||
204
|
204
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user