Skip to content

Commit

Permalink
add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Nov 16, 2024
1 parent d3e7cc8 commit c755d64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/encryptor/encryptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"time"
Expand Down Expand Up @@ -110,6 +111,8 @@ func (e Encryptor) Decrypt(input string, headers map[string]string) (string, err
return "", err
}

fmt.Println(string(bytes))

decryptionSecret := DecryptionResponse{}
err = json.Unmarshal(bytes, &decryptionSecret)
if err != nil {
Expand Down

0 comments on commit c755d64

Please sign in to comment.