Spaces:
Runtime error
Runtime error
远兮
commited on
Commit
·
24e06bf
1
Parent(s):
6969aea
修改profile返回套餐信息
Browse files
chatgpt-next-web/service.py
CHANGED
@@ -365,7 +365,8 @@ def get_user_profile():
|
|
365 |
'free_count': free_count,
|
366 |
'basic_chat_limit': basic_chat_limit,
|
367 |
'advanced_chat_limit': advanced_chat_limit,
|
368 |
-
'expiration': formatted_expiration
|
|
|
369 |
}
|
370 |
})
|
371 |
|
|
|
365 |
'free_count': free_count,
|
366 |
'basic_chat_limit': basic_chat_limit,
|
367 |
'advanced_chat_limit': advanced_chat_limit,
|
368 |
+
'expiration': formatted_expiration,
|
369 |
+
'package_title': package.get(b'title', b'unknow').decode('utf-8')
|
370 |
}
|
371 |
})
|
372 |
|