mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add user api
This commit is contained in:
1 parent
fc0504f91e
commit
b72c99dbce
2 files changed
+12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Api
|
||||
class UsersController < ApiBaseController
|
||||
authorize_resource :current_user
|
||||
|
||||
def show
|
||||
render json: current_user.as_json(only: %i[id first_name last_name email])
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user