Skip to content

Commit e7ed9cb

Browse files
fix: /info show expire null
1 parent 0e52121 commit e7ed9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/operation/subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ async def user_subscription_info(
195195
user = await self.validated_user(db_user)
196196

197197
response_headers = self.create_info_response_headers(user, sub_settings)
198-
user_response = SubscriptionUserResponse.model_validate(db_user.__dict__)
198+
user_response = SubscriptionUserResponse.model_validate(db_user)
199199

200200
return user_response, response_headers
201201

0 commit comments

Comments
 (0)