Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

API Error #39

Closed
Yariya opened this issue Mar 3, 2022 · 1 comment
Closed

API Error #39

Yariya opened this issue Mar 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Yariya
Copy link
Owner

Yariya commented Mar 3, 2022

  File "C:/EarnApp-Earning-Monitor/app/main.py", line 6, in <module>
    from webhooks import WebhookTemplate
  File "C:\EarnApp-Earning-Monitor\app\webhooks.py", line 5, in <module>
    from pyEarnapp.earnapp import DevicesInfo, Transaction, EarningInfo, UserData
  File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\__init__.py", line 1, in <module>
    from .earnapp import EarnApp, Device, Transaction, RedeemDetails, Referee
  File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\earnapp.py", line 7, in <module>
    from .models.transactions import *
  File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\models\transactions.py", line 48, in <module>
    class Transactions:
  File "C:\EarnApp-Earning-Monitor\app\pyEarnapp\models\transactions.py", line 63, in Transactions
    def get_transactions(self)->list[Transaction]:
TypeError: 'type' object is not subscriptable
@Yariya Yariya added the bug Something isn't working label Mar 3, 2022
@Yariya
Copy link
Owner Author

Yariya commented Mar 3, 2022

pushed bugfix

@Yariya Yariya closed this as completed Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant