yojo-art / cherrypick

連合志向のCherryPickフォーク
https://幼女.art
GNU Affero General Public License v3.0
7 stars 5 forks source link

通知があるのに通知の個別削除ができない #420

Open kozakura913 opened 1 month ago

kozakura913 commented 1 month ago

💡 概要(Summary)

通知の取得APIで通知が帰ってくるのに通知削除APIを叩くと400で無いって怒られる 取得:/api/i/notifications-grouped 削除:/api/notifications/delete

リプライ通知、通知発生後相手をブロック済の状態で発生

🥰 期待する動作(Expected Behavior)

取得APIで取得される通知は削除できる

🤬 実際の動作(Actual Behavior)

取得APIが返す通知でも削除に失敗する

📝 再現手順(Steps to Reproduce)

No response

💻 動作環境(Frontend Environment)

* Model and OS of the device(s):
* Browser:
* Server URL:
* CherryPick:

🛰 動作環境(サーバー管理者向け)(Backend Environment (for server admin))

* Installation Method or Hosting Service:
* CherryPick:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

このバグを自分で修正しますか?(Do you want to address this bug yourself?)

kozakura913 commented 1 week ago

ブロック関係ない

{
    "error": {
        "message": "No such notification",
        "code": "NO_SUCH_NOTIFICATION",
        "id": "4818a20e-3d02-11ef-9c7c-63e2e6b43b02",
        "kind": "client"
    }
}