Skip to content

Commit 4964805

Browse files
author
Dean Karn
authored
Merge pull request #17 from tulir/patch-1
[GitLab] Fix type of SourceProjectID in MergeRequest struct
2 parents 5e4be82 + 203bf42 commit 4964805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/payload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ type MergeRequest struct {
312312
ID int64 `json:"id"`
313313
TargetBranch string `json:"target_branch"`
314314
SourceBranch string `json:"source_branch"`
315-
SourceProjectID string `json:"source_project_id"`
315+
SourceProjectID int64 `json:"source_project_id"`
316316
AssigneeID int64 `json:"assignee_id"`
317317
AuthorID int64 `json:"author_id"`
318318
Title string `json:"title"`

0 commit comments

Comments
 (0)