update payload customer_id
This commit is contained in:
@@ -63,6 +63,10 @@ func (c *DukcapilClient) FaceMatch(ctx context.Context, req *contract.FaceMatchR
|
||||
c.cfg.Methode,
|
||||
)
|
||||
|
||||
// Log Dukcapil payload and URL (including params if any)
|
||||
logger.FromContext(ctx).Infof("DukcapilClient::FaceMatch -> URL: %s", url)
|
||||
logger.FromContext(ctx).Infof("DukcapilClient::FaceMatch -> Payload: %s", string(payload))
|
||||
|
||||
httpReq, err := http.NewRequestWithContext(ctx, http.MethodPost, url, bytes.NewReader(payload))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("dukcapil: build request: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user