mattn / go-mastodon

mastodon client for golang
MIT License
600 stars 85 forks source link

Replace deprecated /api/v1/notifications/dismiss with new API #137

Closed Hanage999 closed 3 years ago

Hanage999 commented 3 years ago

Use /api/v1/notifications/:id/dismiss instead of deprecated /api/v1/notifications/dismiss.

codecov-commenter commented 3 years ago

Codecov Report

Merging #137 (6590e98) into master (6abe72d) will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
+ Coverage   77.60%   77.66%   +0.06%     
==========================================
  Files          29       29              
  Lines        1335     1330       -5     
==========================================
- Hits         1036     1033       -3     
+ Misses        206      205       -1     
+ Partials       93       92       -1     
Impacted Files Coverage Δ
notification.go 80.00% <100.00%> (+1.81%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6abe72d...6590e98. Read the comment docs.

waybackarchiver commented 3 years ago

Ref: https://docs.joinmastodon.org/methods/notifications/

mattn commented 3 years ago

Thank you