Skip to content
Snippets Groups Projects
Commit c917dd3302e1 authored by Christophe de Vienne's avatar Christophe de Vienne
Browse files

serve: pass the server to ConfigureAPI so it can access the Server settings

parent d5c414931cde
No related branches found
No related tags found
No related merge requests found
Pipeline #8986 passed
......@@ -97,7 +97,7 @@
cmd.Server.SetLog(Logger)
cmd.Server.Environment = InfoOptions.Environment
configuredAPI, err := restapi.ConfigureAPI(cmd.API, config)
configuredAPI, err := restapi.ConfigureAPI(cmd.API, cmd.Server, config)
if err != nil {
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment