Skip to content

Conversation

@nii236
Copy link
Contributor

@nii236 nii236 commented Jun 4, 2016

So it turns out that GitLab API is inconsistent! On their Merge Requests API page:

Half the time we have strings:

  "source_project_id": "3",
  "target_project_id": "4",

And the other half of the time we have ints:

  "source_project_id": 3,
  "target_project_id": 4,

After testing the actual endpoint, I've been getting ints. So I have made this PR to change the types of the following fields of Merge Requests to ints:

  • SourceProjectID
  • TargetProjectID

Sorry!

@plouc plouc merged commit 2ed6f06 into plouc:master Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants