远兮 commited on
Commit
24e06bf
·
1 Parent(s): 6969aea

修改profile返回套餐信息

Browse files
Files changed (1) hide show
  1. chatgpt-next-web/service.py +2 -1
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