From 7cf295450b048b08c5fa0333cbe27cd6d9f0660f Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 26 Dec 2022 14:13:46 +0000 Subject: [PATCH] refactor(tokens-repo): do not use tokens repo directly from graphql --- selfprivacy_api/graphql/mutations/api_mutations.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/selfprivacy_api/graphql/mutations/api_mutations.py b/selfprivacy_api/graphql/mutations/api_mutations.py index 0c413fb..49c49ad 100644 --- a/selfprivacy_api/graphql/mutations/api_mutations.py +++ b/selfprivacy_api/graphql/mutations/api_mutations.py @@ -24,17 +24,6 @@ from selfprivacy_api.graphql.mutations.mutation_interface import ( ) -from selfprivacy_api.repositories.tokens.json_tokens_repository import ( - JsonTokensRepository, -) -from selfprivacy_api.repositories.tokens.exceptions import ( - RecoveryKeyNotFound, - InvalidMnemonic, -) - -TOKEN_REPO = JsonTokensRepository() - - @strawberry.type class ApiKeyMutationReturn(MutationReturnInterface): key: typing.Optional[str]