Chingjyu

Chingjyu

V2EX 第 613880 号会员,加入于 2023-02-13 15:19:08 +08:00
根据 Chingjyu 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
Chingjyu 最近回复了
@MYDB 国产软件基本上都命中了( doge
我开 ticket 收到了回复:

Hi there,

(省略套话)

As a workaround, if you're familiar with the GitHub CLI, you can use the script below to mark all of your notifications as read. This may take care of the phantom message, but please note that the 1-0 of 1 message may still persist after the curl command is run. Our engineers are investigating this bug as well.

Running the script to mark notifications as "read" is generally considered safe, as it does not remove the notification itself, only updates the status of the notification. Here is the script:

gh api \
--method PUT \
-H "Accept: application/vnd.github+json" \
/notifications \
-F read=true

If you have a Personal Access Token (PAT), you can also use the following curl command to mark all of your notifications as read. Please note that in order to use the curl command, you will need to replace $TOKEN with your own PAT, which you can create here. Also note that the PAT must have the notifications scope.

curl -X PUT \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
https://api.github.com/notifications

For your reference, here is the documentation for the Notifications REST API endpoint.

(省略套话)

Thanks,

xxx
GitHub Support
@MrVito 帮到你了就好😂我的 pro 2 可以直接用视频里的方法开
我参考的是这个视频 https://www.bilibili.com/BV1aH4y1j7HW
16 天前
回复了 zqguang3708 创建的主题 微信 微信 PC 版小程序能否使用定位功能?
@zqguang3708 Windows 有定位权限啊,给微信授权了小程序大概率可以直接用的
祝好!
38 天前
回复了 goofish 创建的主题 生活 你好陌生人,可以祝我生日快乐吗
生日快乐
42 天前
回复了 tubowen 创建的主题 问与答 丈母娘险被诈骗,怎么有效举报
匪警请拨 110
47 天前
回复了 jsdi 创建的主题 GitHub github 故障了? issue 列表加载不出来
我还以为是自己的网络问题
66 天前
回复了 enjoy1224 创建的主题 Apple Apple Pay 加卡怪事,有些能加,有些不能
N26 必须从 app 里加
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1001 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 18:38 · PVG 02:38 · LAX 11:38 · JFK 14:38
Developed with CodeLauncher
♥ Do have faith in what you're doing.