This commit is contained in:
@@ -228,6 +228,7 @@ func (rw *ResponseWriter) Decrypt() bool {
|
||||
return false
|
||||
}
|
||||
rw.c.Request.Body = io.NopCloser(bytes.NewBuffer([]byte(decrypt)))
|
||||
rw.c.Request.Header.Set("Content-Type", "application/json")
|
||||
rw.c.Set(ctxDecryptedBodyKey, decrypt)
|
||||
rw.c.Set(ctxDeviceDecryptStatusKey, "success")
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user