Replace nil
argument to function call
Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
parent
5f7c2f42ec
commit
b9df43826a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func run() error {
|
||||||
return errors.Wrap(err, "failed migration")
|
return errors.Wrap(err, "failed migration")
|
||||||
}
|
}
|
||||||
|
|
||||||
e := endpoints.New(nil)
|
e := endpoints.New(database)
|
||||||
app := e.SetupApp()
|
app := e.SetupApp()
|
||||||
|
|
||||||
serveAddr := config.HTTP.Host + ":" + strconv.Itoa(config.HTTP.Port)
|
serveAddr := config.HTTP.Host + ":" + strconv.Itoa(config.HTTP.Port)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue