소스 검색

Trace data to be encrypted for DOI

Achilleas Koutsou 5 년 전
부모
커밋
4d165315ee
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      routes/doi.go

+ 2 - 0
routes/doi.go

@@ -29,6 +29,8 @@ func RequestDOI(c *context.Context) {
 		"repository": repo,
 		"email":      email,
 	}
+
+	log.Trace("Encrypting data for DOI: %+v", data)
 	dataj, _ := json.Marshal(data)
 	regrequest, err := libgin.EncryptURLString([]byte(setting.DOI.Key), string(dataj))
 	if err != nil {