Unify finding an actor in the internal API
Reuse the `Support::GitAccessActor` to find an actor for the internal API. That way we're a bit closer to having a single way of accessing the user.
显示
- app/finders/user_finder.rb 0 个添加, 6 个删除app/finders/user_finder.rb
- lib/api/helpers/internal_helpers.rb 4 个添加, 0 个删除lib/api/helpers/internal_helpers.rb
- lib/api/internal/base.rb 19 个添加, 44 个删除lib/api/internal/base.rb
- lib/api/support/git_access_actor.rb 7 个添加, 5 个删除lib/api/support/git_access_actor.rb
- spec/finders/user_finder_spec.rb 0 个添加, 22 个删除spec/finders/user_finder_spec.rb
- spec/lib/api/support/git_access_actor_spec.rb 12 个添加, 3 个删除spec/lib/api/support/git_access_actor_spec.rb
- spec/requests/api/internal/base_spec.rb 9 个添加, 2 个删除spec/requests/api/internal/base_spec.rb
加载中
想要评论请 注册 或 登录