Skip to content

Commit

Permalink
Version 0.13.0 not working as expected (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Mar 26, 2024
1 parent ae3095a commit 9c62473
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/shared.go
Expand Up @@ -106,10 +106,11 @@ func (app *SharedFlags) Start(ctx context.Context) error {
// If the client isn't yet initialized
if app.Immich == nil {
conf, err := configuration.Read(app.ConfigurationFile)
if err == nil {
confExist := err == nil
if confExist && app.Server == "" && app.Key == "" && app.API == "" {
app.Server = conf.ServerURL
app.API = conf.APIURL
app.Key = conf.APIKey
app.API = conf.APIURL
}

switch {
Expand Down
4 changes: 4 additions & 0 deletions docs/releases.md
@@ -1,5 +1,9 @@
# Release notes

## Release 0.13.1

### Fix [#199](https://github.com/simulot/immich-go/issues/199)

## Release 0.13.0

### Improvement: [#189](https://github.com/simulot/immich-go/issues/189) Use a configuration file to store server's address and its API key
Expand Down

0 comments on commit 9c62473

Please sign in to comment.