Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2024-02-28 12:29:57.207
- TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
- 2024-02-28 12:29:57.207
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-02-28 12:29:57.207
- countFailedUsersPaymentsPreviousPeriod=int(failed_payments[7] if failed_payments[6] else 0),
- 2024-02-28 12:29:57.207
- File "/code/src/dashboard/routers/dashboard.py", line 463, in get_overview
- 2024-02-28 12:29:57.207
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2024-02-28 12:29:57.207
- return await next_(source, info, **kwargs)
- 2024-02-28 12:29:57.207
- File "/usr/local/lib/python3.11/site-packages/strawberry/permission.py", line 172, in resolve_async
- 2024-02-28 12:29:57.207
- ^^^^^^^^^^^
- 2024-02-28 12:29:57.207
- return await value
- 2024-02-28 12:29:57.207
- File "/usr/local/lib/python3.11/site-packages/strawberry/utils/await_maybe.py", line 12, in await_maybe
- 2024-02-28 12:29:57.207
- ^^^^^^^^^^^^^^^^^^
- 2024-02-28 12:29:57.207
- return await await_maybe(
- 2024-02-28 12:29:57.207
- File "/usr/local/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 675, in _async_resolver
- 2024-02-28 12:29:57.207
- ^^^^^^^^^^^^
- 2024-02-28 12:29:57.207
- return_type, field_nodes, info, path, await result
- 2024-02-28 12:29:57.207
- File "/usr/local/lib/python3.11/site-packages/graphql/execution/execute.py", line 528, in await_result
- 2024-02-28 12:29:57.207
- Traceback (most recent call last):
- 2024-02-28 12:29:57.207
- 4 | filters: {
- 2024-02-28 12:29:57.207
- | ^
- 2024-02-28 12:29:57.207
- 3 | getOverview(
- 2024-02-28 12:29:57.207
- 2 | {
- 2024-02-28 12:29:57.207
- GraphQL request:3:13
- 2024-02-28 12:29:57.207
- 2024-02-28 12:29:57.207
- int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement