From 10901b3f6e4fc41900ffbeb5e28d1d16e81550f2 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Tue, 19 Sep 2023 16:57:39 -0400 Subject: [PATCH] =?UTF-8?q?Ajouter=20keyauth=20=C3=A0=20scan=20request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apiclient/apiclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiclient/apiclient.go b/apiclient/apiclient.go index 95992b8..081d95e 100644 --- a/apiclient/apiclient.go +++ b/apiclient/apiclient.go @@ -15,5 +15,5 @@ type APIClient struct { func (a *APIClient) Scan(membreID string) (response apiresponse.ScanPOST, err error) { //TODO implement api key - return response, a.Voki.Unmarshal(http.MethodPost, fmt.Sprintf("/v0/scan/%s", membreID), nil, false, &response) + return response, a.Voki.Unmarshal(http.MethodPost, fmt.Sprintf("/v0/scan/%s", membreID), nil, true, &response) }