Make gitlab use standard HTTP fetcher

This commit is contained in:
Yarmo Mackenbach 2022-04-17 11:51:25 +02:00
parent 6e265eb693
commit 43cf91add7

View file

@ -37,12 +37,12 @@ const processURI = (uri) => {
proof: { proof: {
uri: uri, uri: uri,
request: { request: {
fetcher: E.Fetcher.GITLAB, fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.GENERIC, access: E.ProofAccess.GENERIC,
format: E.ProofFormat.JSON, format: E.ProofFormat.JSON,
data: { data: {
domain: match[1], url: `https://${match[1]}/api/v4/projects/${match[2]}%2Fgitlab_proof`,
username: match[2] format: E.ProofFormat.JSON
} }
} }
}, },