Ajouter keyauth à scan request

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-19 16:57:39 -04:00
parent 51c0930f98
commit 10901b3f6e

View file

@ -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)
}