Skip to content

Commit

Permalink
Merge pull request #555 from Ilhasoft/fix/remove_incorrect_concat_nlp…
Browse files Browse the repository at this point in the history
…_url_trainings_check_task

removing 'v2/' from nlp url in trainings_check_task. Nlp url that passed in env variable alread have 'v2/'
  • Loading branch information
mldzs committed Mar 22, 2021
2 parents 53d40a0 + 27d56b1 commit 2de3740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ python-slugify = "~=4.0.0"
openpyxl = "~=3.0.3"
pillow = "~=7.1.2"
kombu = "~=4.6.7"
importlib-metadata = "~=1.6.1"
importlib-metadata = "~=3.7.2"
psycopg2-binary = "~=2.7.7"
matplot = "~=0.1.9"
django-redis = "~=4.12.1"
Expand Down
2 changes: 1 addition & 1 deletion bothub/common/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def trainings_check_task():
RepositoryQueueTask.QUEUE_CELERY: "celery",
}
result = requests.get(
url=f"{settings.BOTHUB_NLP_BASE_URL}v2/task-queue/",
url=f"{settings.BOTHUB_NLP_BASE_URL}task-queue/",
params=urlencode(
{
"id_task": train.id_queue,
Expand Down

0 comments on commit 2de3740

Please sign in to comment.