Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a38c27 commit 04bd34cCopy full SHA for 04bd34c
‎lib/plugin/gitlab/GitLab.js‎
@@ -165,6 +165,7 @@ class GitLab extends Release {
165
const url = `${baseUrl}/${endpoint}${options.searchParams ? `?${new URLSearchParams(options.searchParams)}` : ''}`;
166
const headers = {
167
'user-agent': 'webpro/release-it',
168
+ 'Content-Type': typeof options.json !== "undefined" ? 'application/json' : 'text/plain',
169
[tokenHeader]: this.token
170
};
171
const requestOptions = {
0 commit comments