fixed parameter usage
This commit is contained in:
parent
3785de4e56
commit
d62fc55c9e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user