submissions: fix null pointer deref
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Quaternions 2024-12-15 01:49:25 -08:00
parent 3cfcbff253
commit 2342981643

View File

@ -134,7 +134,7 @@ func serve(ctx *cli.Context) error {
Nats: js, Nats: js,
} }
srv2, err := internal.NewServer(svc2, nil, internal.WithPathPrefix("/v1")) srv2, err := internal.NewServer(svc2, internal.WithPathPrefix("/v1"))
if err != nil { if err != nil {
log.WithError(err).Fatal("failed to initialize api server") log.WithError(err).Fatal("failed to initialize api server")
} }