2019-02-05 20:53:02 +01:00
|
|
|
class Api::V1::User::UsersController < Api::V1::BaseController
|
2021-03-01 15:27:26 +01:00
|
|
|
before_action -> { doorkeeper_authorize! 'user:read', 'user:write' }
|
2019-02-05 20:53:02 +01:00
|
|
|
|
|
|
|
def show
|
|
|
|
render json: current_user
|
|
|
|
end
|
|
|
|
end
|