update payload customer_id

This commit is contained in:
Aditya Siregar
2026-05-07 08:54:09 +07:00
parent f2881bfcc9
commit 56d854fbc0
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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)