Skip to content

Commit

Permalink
debug: whole request
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynenko committed Jan 6, 2025
1 parent c98bf44 commit f6b3821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/api/handlers/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func Register(w http.ResponseWriter, r *http.Request) {
return
}

rawSod, _ := json.Marshal(req.Data.Attributes.DocumentSod)
log.WithField("sod", string(rawSod)).Debug("request started")
rawReq, _ := json.Marshal(req)
log.WithField("sod", string(rawReq)).Debug("request started")

algorithmPair := types.AlgorithmPair{
DgHashAlgorithm: types.HashAlgorithmFromString(req.Data.Attributes.DocumentSod.HashAlgorithm),
Expand Down

0 comments on commit f6b3821

Please sign in to comment.