From f5af1923a69dc2b800e6e0f89839e1bbf52207c7 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Wed, 19 Sep 2012 10:19:20 +0200 Subject: [PATCH] set profile scope back to private --- lib/travis/api/app/endpoint/profile.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/travis/api/app/endpoint/profile.rb b/lib/travis/api/app/endpoint/profile.rb index 1e39238a..b8e8abad 100644 --- a/lib/travis/api/app/endpoint/profile.rb +++ b/lib/travis/api/app/endpoint/profile.rb @@ -18,8 +18,7 @@ class Travis::Api::App # "synced_at": "2012-08-14T22:11:21Z" # } # } - # , scope: :private - get '/' do + get '/', scope: :private do body service(:user).find_one, type: :user end