Guang Jiong Lou
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/server/filer_server_handlers_write_autochunk.go
|
|
@ -126,7 +126,7 @@ func (fs *FilerServer) doPutAutoChunk(ctx context.Context, w http.ResponseWriter |
|
|
|
contentType = "" |
|
|
|
} |
|
|
|
|
|
|
|
if err := fs.checkPermissions(ctx, r, ""); err != nil { |
|
|
|
if err := fs.checkPermissions(ctx, r, fileName); err != nil { |
|
|
|
return nil, nil, err |
|
|
|
} |
|
|
|
|
|
|
|