diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-10-12 11:26:13 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-11-02 13:39:01 +0300 |
commit | fbdf057898475653c847601f257e140494944f46 (patch) | |
tree | 66da6450d9c3cb0438561e53d0fc8ced2a514279 /lib/api/entities.rb | |
parent | a72d687931fa5be3b8828fa202e61d42c607dae1 (diff) |
Remove private_token from API user entity
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index efe874b2e6b..67cecb6a7ad 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -57,10 +57,6 @@ module API expose :admin?, as: :is_admin end - class UserWithPrivateDetails < UserWithAdmin - expose :private_token - end - class Email < Grape::Entity expose :id, :email end |