From 9dff50f8f5bec1a4d9cfc98618bce05aed0d0b67 Mon Sep 17 00:00:00 2001 From: David Mang Date: Sun, 1 Sep 2024 15:51:28 +0200 Subject: [PATCH] Fix naming error in build docker script --- .github/workflows/build_docker.yml | 4 ++-- server/insights/services/commonWordAnalyzer.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index cfcf943..c8e0da7 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -85,8 +85,8 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} build-args: | - "VITE_API_URL=${{ var.VITE_API_URL }}" - "VITE_ENABLE_TRACKING"=${{ var.VITE_ENABLE_TRACKING }}" + "VITE_API_URL=${{ vars.VITE_API_URL }}" + "VITE_ENABLE_TRACKING"=${{ vars.VITE_ENABLE_TRACKING }}" - id: output-tag-client run: | diff --git a/server/insights/services/commonWordAnalyzer.py b/server/insights/services/commonWordAnalyzer.py index 6c31b07..a1b8803 100644 --- a/server/insights/services/commonWordAnalyzer.py +++ b/server/insights/services/commonWordAnalyzer.py @@ -11,6 +11,7 @@ cachedStopWords = stopwords.words("english") +# Handler to find common words in messages of users def handle_array_common_word(array, variant): textList = [] formattedTextList = []