1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Remove unused import

This commit is contained in:
Steffo 2020-06-11 01:20:12 +02:00
parent 0397dd092f
commit c6103325b7
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -3,7 +3,6 @@ import royalnet.utils as ru
from royalnet.constellation.api import * from royalnet.constellation.api import *
from royalnet.constellation.api.apierrors import * from royalnet.constellation.api.apierrors import *
from ..tables.users import User from ..tables.users import User
from ..tables.aliases import Alias
from ..tables.tokens import Token from ..tables.tokens import Token
@ -24,7 +23,6 @@ class ApiLoginRoyalnetStar(ApiStar):
async def api(self, data: ApiData) -> ru.JSON: async def api(self, data: ApiData) -> ru.JSON:
TokenT = self.alchemy.get(Token) TokenT = self.alchemy.get(Token)
UserT = self.alchemy.get(User) UserT = self.alchemy.get(User)
AliasT = self.alchemy.get(Alias)
username = data["username"] username = data["username"]
password = data["password"] password = data["password"]