fix can't create entry
This commit is contained in:
@@ -36,7 +36,7 @@ func (s *Service) Add(name, path, remote string) (string, error) {
|
||||
ID: gameID.Key(),
|
||||
Name: name,
|
||||
Path: path,
|
||||
Version: 1,
|
||||
Version: 0,
|
||||
Date: time.Now(),
|
||||
}
|
||||
|
||||
@@ -268,6 +268,8 @@ func (l Service) PullBackup(gameID, backupID string, cli *client.Client) error {
|
||||
return fmt.Errorf("failed to pull backup: %w", err)
|
||||
}
|
||||
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user