refactor: upgrade masto

This commit is contained in:
三咲智子 2023-01-10 14:10:20 +08:00
parent e1332345ad
commit caa02446c7
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
6 changed files with 34 additions and 25 deletions

View file

@ -267,7 +267,7 @@ export const useNotifications = () => {
return
const lastReadId = notifications[id]![1][0]
notifications[id]![1] = []
// @ts-expect-error https://github.com/neet/masto.js/pull/793
await masto.v1.markers.create({
notifications: { lastReadId },
})