Skip to content

Commit

Permalink
Fix validation error for vk token
Browse files Browse the repository at this point in the history
Add missing login and password arguments for get_new_vk_token
  • Loading branch information
Bizordec authored Jan 14, 2023
1 parent 6eef55e commit 4efdbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def get_vk_token(
get_token = get_vk_official_token
t_name = "VK_OFFICIAL_TOKEN"
if not current_token:
current_token = get_new_vk_token(user_agent, get_token, t_name)
current_token = get_new_vk_token(login, password, user_agent, get_token, t_name)

return await get_validated_vk_token(
login,
Expand Down

0 comments on commit 4efdbd3

Please sign in to comment.