From 43cf91add7c11b5ed1a8c7198821715a562e8099 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 17 Apr 2022 11:51:25 +0200 Subject: [PATCH] Make gitlab use standard HTTP fetcher --- src/claimDefinitions/gitlab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/claimDefinitions/gitlab.js b/src/claimDefinitions/gitlab.js index b209021..130d5ec 100644 --- a/src/claimDefinitions/gitlab.js +++ b/src/claimDefinitions/gitlab.js @@ -37,12 +37,12 @@ const processURI = (uri) => { proof: { uri: uri, request: { - fetcher: E.Fetcher.GITLAB, + fetcher: E.Fetcher.HTTP, access: E.ProofAccess.GENERIC, format: E.ProofFormat.JSON, data: { - domain: match[1], - username: match[2] + url: `https://${match[1]}/api/v4/projects/${match[2]}%2Fgitlab_proof`, + format: E.ProofFormat.JSON } } },