Merge branch 'fix/api-route-key'

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-19 16:59:00 -04:00
commit 7351f970f7

View file

@ -15,5 +15,5 @@ type APIClient struct {
func (a *APIClient) Scan(membreID string) (response apiresponse.ScanPOST, err error) { func (a *APIClient) Scan(membreID string) (response apiresponse.ScanPOST, err error) {
//TODO implement api key //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)
} }