Skip to content

Commit 0626d59

Browse files
committed
fixup! move endpoints under webpush beside notifications
1 parent e57501d commit 0626d59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/webpush/webpush.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type Dispatcher interface {
2929
Dispatch(ctx context.Context, userID uuid.UUID, notification codersdk.WebpushMessage) error
3030
// Test sends a test notification to a subscription to ensure it is valid.
3131
Test(ctx context.Context, req codersdk.WebpushSubscription) error
32+
// PublicKey returns the VAPID public key for the webpush dispatcher.
3233
PublicKey() string
3334
}
3435

0 commit comments

Comments
 (0)