mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: get filesystem from callback context
This commit is contained in:
@@ -212,7 +212,6 @@ func (policy *Policy) GetUploadURL() string {
|
||||
}
|
||||
|
||||
// UpdateAccessKey 更新 AccessKey
|
||||
// TODO 测试
|
||||
func (policy *Policy) UpdateAccessKey(key string) error {
|
||||
policy.AccessKey = key
|
||||
err := DB.Save(policy).Error
|
||||
|
||||
Reference in New Issue
Block a user