proxy add account

This commit is contained in:
微凉
2021-11-17 16:37:12 +08:00
parent 36d52e0b75
commit 0b7f2fee7d
5 changed files with 5 additions and 5 deletions

View File

@ -301,7 +301,7 @@ func (o Onedrive) Save(account *model.Account, old *model.Account) error {
return nil
}
func (o Onedrive) Proxy(c *gin.Context) {
func (o Onedrive) Proxy(c *gin.Context, account *model.Account) {
c.Request.Header.Del("Origin")
}