Macaron: remove custom Request type (#37874)

* remove macaron.Request, use http.Request instead

* remove com dependency from bindings module

* fix another c.Req.Request
This commit is contained in:
Serge Zaitsev authored and GitHub committed 2021-09-01 11:18:30 +02:00
1 parent 56f61001a8
commit c3ab2fdeb7
35 files changed
+1205 -111

No files matched your search

@@ -60,7 +60,7 @@ func (p *DataSourceProxyService) ProxyDatasourceRequestWithID(c *models.ReqConte
return
}
err = p.PluginRequestValidator.Validate(ds.Url, c.Req.Request)
err = p.PluginRequestValidator.Validate(ds.Url, c.Req)
if err != nil {
c.JsonApiErr(http.StatusForbidden, "Access denied", err)
return