Skip to content

Commit

Permalink
fix: refresh token error
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSDerek authored Dec 1, 2024
1 parent 29fe26a commit dce6521
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion glue_python/get_folder_id/get_folder_id.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from aligo import Aligo

ali = Aligo(refresh_token='316bb9995a2b4ac79632040687a08be2')
with open('/data/mytoken.txt', 'r') as file:
refresh_token = file.readline().strip()
ali = Aligo(refresh_token=refresh_token)

# 这里默认使用资源盘
v2_user = ali.v2_user_get()
Expand Down

0 comments on commit dce6521

Please sign in to comment.