update payload customer_id
This commit is contained in:
parent
f2881bfcc9
commit
56d854fbc0
@ -29,7 +29,7 @@ s3:
|
||||
|
||||
dukcapil:
|
||||
base_url: "http://172.16.160.176:8080/api/face-recognition"
|
||||
customer_id: "your-customer-id"
|
||||
customer_id: "990030524100001"
|
||||
methode: "CALL_FN"
|
||||
user_id: "281020241202039900305241000011252"
|
||||
password: "Fjskdhv35$%"
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user