Replace nil argument to function call

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2022-10-02 23:52:52 +01:00
parent 5f7c2f42ec
commit b9df43826a
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -23,7 +23,7 @@ func run() error {
return errors.Wrap(err, "failed migration")
}
e := endpoints.New(nil)
e := endpoints.New(database)
app := e.SetupApp()
serveAddr := config.HTTP.Host + ":" + strconv.Itoa(config.HTTP.Port)