Commit 34a7456
committed
Remove misleading parameters in notifications API
The API allows you to mark notifications as read. To do so, you can
specify any one of the following parameters and values.
- "unread" : false
- "read" : true
- none of the above
In all cases, the result is the same: it marks the notifications as
read. Therefore, passing neither is the simplest approach, and there is
no reason to describe these parameters.1 parent 0d102c8 commit 34a7456
1 file changed
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 111 | | |
118 | 112 | | |
119 | 113 | | |
| |||
132 | 126 | | |
133 | 127 | | |
134 | 128 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 129 | | |
142 | 130 | | |
143 | 131 | | |
| |||
160 | 148 | | |
161 | 149 | | |
162 | 150 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 151 | | |
172 | 152 | | |
173 | 153 | | |
| |||
0 commit comments