diff --git a/routes/pgp.go b/routes/pgp.go index 6c0f349..172920b 100644 --- a/routes/pgp.go +++ b/routes/pgp.go @@ -23,7 +23,8 @@ type PGPKey struct { func GetOpenPGPInformationEncoded(c *gin.Context) { query := c.Copy().Request.Body - body, _ := ioutil.ReadAll(query) + query2 := c.Copy().Request.Body + body, _ := ioutil.ReadAll(query2) block, err := armor.Decode(query) if err != nil {