Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

已删除的memo也会被同步 #1

Open
maxminly opened this issue Aug 5, 2024 · 1 comment
Open

已删除的memo也会被同步 #1

maxminly opened this issue Aug 5, 2024 · 1 comment

Comments

@maxminly
Copy link

maxminly commented Aug 5, 2024

RT

@SergioEchigo
Copy link

改了下代码可以了,flomo - flomo_api.py 文件里,原来:

return response_json['data']

替换成:

# 过滤已删除的条目
memo_list = response_json['data']
filtered_memo_list = [memo for memo in memo_list if not memo.get('deleted_at', None)]

return filtered_memo_list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants