diff --git a/pkg/api/api.go b/pkg/api/api.go index bc8a96883..c6c989e89 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -57,20 +57,20 @@ import ( ) type StreamplaceAPI struct { - CLI *config.CLI - Model model.Model - StatefulDB *statedb.StatefulDB - LocalDB localdb.LocalDB - Updater *Updater - Signer *eip712.EIP712Signer - Mimes map[string]string - Notifier notifications.Notifier - MediaManager *media.MediaManager - MediaSigner media.MediaSigner - UploadManager *upload.Manager - PlaybackStore blob.Store - ViewLog *viewlog.Writer - XRPCServer *spxrpc.Server + CLI *config.CLI + Model model.Model + StatefulDB *statedb.StatefulDB + LocalDB localdb.LocalDB + Updater *Updater + Signer *eip712.EIP712Signer + Mimes map[string]string + Notifier notifications.Notifier + MediaManager *media.MediaManager + MediaSigner media.MediaSigner + UploadManager *upload.Manager + PlaybackStore blob.Store + ViewLog *viewlog.Writer + XRPCServer *spxrpc.Server // not thread-safe yet Aliases map[string]string Bus *bus.Bus @@ -108,7 +108,7 @@ func MakeStreamplaceAPI(cli *config.CLI, mod model.Model, statefulDB *statedb.St Model: mod, StatefulDB: statefulDB, Updater: updater, - Notifier: noter, + Notifier: noter, MediaManager: mm, MediaSigner: ms, UploadManager: um, diff --git a/pkg/notifications/webpush_test.go b/pkg/notifications/webpush_test.go index bd63554a3..bf98e3ef9 100644 --- a/pkg/notifications/webpush_test.go +++ b/pkg/notifications/webpush_test.go @@ -8,8 +8,8 @@ import ( "net/http/httptest" "testing" - "github.com/stretchr/testify/require" webpush "github.com/SherClockHolmes/webpush-go" + "github.com/stretchr/testify/require" ) // TestWebPushNotifierBlast verifies that the WebPushNotifier: diff --git a/pkg/statedb/vapid.go b/pkg/statedb/vapid.go index 54a6bb4c4..c7029ced3 100644 --- a/pkg/statedb/vapid.go +++ b/pkg/statedb/vapid.go @@ -6,8 +6,8 @@ import ( "fmt" webpush "github.com/SherClockHolmes/webpush-go" - notificationpkg "stream.place/streamplace/pkg/notifications" "stream.place/streamplace/pkg/log" + notificationpkg "stream.place/streamplace/pkg/notifications" ) // vapidConfigKey is the Config-table key under which the VAPID keypair is