Project

General

Profile

Idea #10405

Updated by Peter Amstutz about 8 years ago

* lib/current_api_client.rb: 

 <pre> 
   def current_default_owner 
 </pre> 

 Not used anywhere.    @current_api_client_authorization.default_owner_uuid@ is never set and @current_user.default_owner_uuid@ doesn't exist. 

 * app/models/api_client_authorization.rb: 

 These @_id@ fields are exposed, despite the fact that they are internal database identifiers that are not meaningful to the client.    The @owner_uuid@ field is a virtual field that translates the @user_id@ to a uuid. 

 <pre> 
     t.add :user_id 
     t.add :api_client_id 
 </pre> 
 

 </pre>

Back