Skip to content

Commit ca72676

Browse files
committed
nits
1 parent a114ddb commit ca72676

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

coderd/webpush.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
// @ID create-user-webpush-subscription
2020
// @Security CoderSessionToken
2121
// @Accept json
22-
// @Tags Notifications
22+
// @Tags WebPush
2323
// @Param request body codersdk.WebpushSubscription true "Webpush subscription"
2424
// @Param user path string true "User ID, name, or me"
2525
// @Router /users/{user}/webpush/subscription [post]
@@ -67,7 +67,7 @@ func (api *API) postUserWebpushSubscription(rw http.ResponseWriter, r *http.Requ
6767
// @ID delete-user-webpush-subscription
6868
// @Security CoderSessionToken
6969
// @Accept json
70-
// @Tags Notifications
70+
// @Tags WebPush
7171
// @Param request body codersdk.DeleteWebpushSubscription true "Webpush subscription"
7272
// @Param user path string true "User ID, name, or me"
7373
// @Router /users/{user}/webpush/subscription [delete]

codersdk/notifications.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ type UpdateNotificationTemplateMethod struct {
212212

213213
type UpdateUserNotificationPreferences struct {
214214
TemplateDisabledMap map[string]bool `json:"template_disabled_map"`
215-
PushSubscription string `json:"push_subscription,omitempty"`
216215
}
217216

218217
type WebpushMessageAction struct {

0 commit comments

Comments
 (0)