mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-14 10:08:15 +02:00
soft-deprecated and replaced GetFile with GetReader
This commit is contained in:
1 parent
87c6c5b483
commit
5dbd9821e8
5 files changed
+3021
-3009
No files matched your search
+1
-1
@@ -190,7 +190,7 @@ func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error {
|
||||
|
||||
// extract the zip
|
||||
if e.App.Settings().Backups.S3.Enabled {
|
||||
br, err := fsys.GetFile(name)
|
||||
br, err := fsys.GetReader(name)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user