8000 add endpoints for inbox notifications · coder/coder@3c6512b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c6512b

Browse files
committed
add endpoints for inbox notifications
1 parent 5285c12 commit 3c6512b

File tree

20 files changed

+1766
-63
lines changed

20 files changed

+1766
-63
lines changed

cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
934934
// The notification manager is responsible for:
935935
// - creating notifiers and managing their lifecycles (notifiers are responsible for dequeueing/sending notifications)
936936
// - keeping the store updated with status updates
937-
notifications 6A7E Manager, err = notifications.NewManager(notificationsCfg, options.Database, helpers, metrics, logger.Named("notifications.manager"))
937+
notificationsManager, err = notifications.NewManager(notificationsCfg, options.Database, options.Pubsub, helpers, metrics, logger.Named("notifications.manager"))
938938
if err != nil {
939939
return xerrors.Errorf("failed to instantiate notification manager: %w", err)
940940
}

coderd/apidoc/docs.go

Lines changed: 206 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0