Skip to content
Snippets Groups Projects
Commit 6fbc96bf authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Fix test error

parent f5c8edcf
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -92,7 +92,7 @@ module API
 
def find_project_snippet(id)
finder_params = { filter: :by_project, project: user_project }
SnippetsFinder.new.execute(current_user, finder_params).find(id)
SnippetsFinder.new(current_user, finder_params).execute.find(id)
end
 
def find_merge_request_with_access(iid, access_level = :read_merge_request)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment