mirror of https://github.com/docusealco/docuseal
				
				
				
			
							parent
							
								
									fc0504f91e
								
							
						
					
					
						commit
						b72c99dbce
					
				| @ -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 | ||||
					Loading…
					
					
				
		Reference in new issue