Migrate to PyNaCl

This commit is contained in:
havlong
2022-12-20 15:37:10 +03:00
parent 5da81f7a04
commit 30b137de3a
3 changed files with 8 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ def autocomplete_handler(query_model: AutoModel) -> SuggestionsModel:
api = ClientAPI(client_id='vue-app-0', client_secret='abccf12389efab222')
# Prepare Security
key_holder = SecurityHelper(public_key='abbcbbbcaksjdhf/skdjhfnnsn/sjdkfjj21234=')
key_holder = SecurityHelper(public_key='VoMMy/A7u6GnSajiZbwz0fpIPESA+oQ+b8Qi5LUMiN8=')
# Define intents
intents: List[Intent] = [InlineQuery(autocomplete_handler)]