fixed parameter usage

This commit is contained in:
Philipp Häfelfinger 2019-04-08 23:07:45 +02:00
parent 3785de4e56
commit d62fc55c9e

View File

@ -46,7 +46,7 @@ func (c *appContext) UsePiwigo(url string, user string, password string) error {
} }
c.piwigo = new(piwigo.PiwigoContext) c.piwigo = new(piwigo.PiwigoContext)
return c.piwigo.Initialize(*piwigoUrl, *piwigoUser, *piwigoPassword) return c.piwigo.Initialize(url, user, password)
} }
func newAppContext() (*appContext, error) { func newAppContext() (*appContext, error) {