Skip to content

Commit 5be8247

Browse files
committed
fix(subscription): update user subscription info response to use JSON serialization mode
1 parent 1f0e5d5 commit 5be8247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routers/subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def user_subscription_info(
4141
user_data, response_headers = await subscription_operator.user_subscription_info(
4242
db, token=token, request_url=str(request.url)
4343
)
44-
return JSONResponse(content=user_data.model_dump(), headers=response_headers)
44+
return JSONResponse(content=user_data.model_dump(mode='json'), headers=response_headers)
4545

4646

4747
@router.get("/{token}/apps", response_model=list[Application])

0 commit comments

Comments
 (0)