Commit 82d7a3a3 authored by Stan Hu's avatar Stan Hu

Fix typos in pull requests failing to import

parent 3b9d1c0f
...@@ -43,7 +43,7 @@ module Gitlab ...@@ -43,7 +43,7 @@ module Gitlab
title: issue.title, title: issue.title,
description: description, description: description,
state: issue.state, state: issue.state,
author_id: gl_user_id(project, issue.author), author_id: gitlab_user_id(project, issue.author),
created_at: issue.created_at, created_at: issue.created_at,
updated_at: issue.updated_at updated_at: issue.updated_at
) )
...@@ -56,7 +56,7 @@ module Gitlab ...@@ -56,7 +56,7 @@ module Gitlab
issue.notes.create!( issue.notes.create!(
project: project, project: project,
note: note, note: note,
author_id: gl_user_id(project, comment.author), author_id: gitlab_user_id(project, comment.author),
created_at: comment.created_at, created_at: comment.created_at,
updated_at: comment.updated_at updated_at: comment.updated_at
) )
...@@ -93,7 +93,7 @@ module Gitlab ...@@ -93,7 +93,7 @@ module Gitlab
target_branch: pull_request.target_branch_name, target_branch: pull_request.target_branch_name,
target_branch_sha: pull_request.target_branch_sha, target_branch_sha: pull_request.target_branch_sha,
state: pull_request.state, state: pull_request.state,
author_id: gl_user_id(project, pull_request.author), author_id: gitlab_user_id(project, pull_request.author),
assignee_id: nil, assignee_id: nil,
created_at: pull_request.created_at, created_at: pull_request.created_at,
updated_at: pull_request.updated_at updated_at: pull_request.updated_at
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment