diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index e5282a5aa..83a369f78 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -27,8 +27,8 @@ jobs: - name: Build backend and copy zip to S3 run: | + apt-get update && apt-get install -y zip sed sed -i "s#RECAPTCHA_CONFIG_JSON_BASE64#${{ secrets.RECAPTCHA_CONFIG_JSON_BASE64 }}#g" utils/helper.go - apt-get update && apt-get install -y zip GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go zip canopas_serverless_dev_${{ github.sha }}.zip main aws s3 cp canopas_serverless_dev_${{ github.sha }}.zip s3://canopas-lambda-handlers diff --git a/nuxt-frontend/stores/author/index.js b/nuxt-frontend/stores/author/index.js index 1153139c0..dbd6c35d6 100644 --- a/nuxt-frontend/stores/author/index.js +++ b/nuxt-frontend/stores/author/index.js @@ -19,8 +19,8 @@ export const useAuthorListStore = defineStore("authors", { this.error = null; let published = showDrafts - ? "&is_published=false" - : "&is_published=true"; + ? "is_published=false" + : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : ""; diff --git a/nuxt-frontend/stores/resources/index.js b/nuxt-frontend/stores/resources/index.js index bf7f138bf..eba36927d 100644 --- a/nuxt-frontend/stores/resources/index.js +++ b/nuxt-frontend/stores/resources/index.js @@ -21,8 +21,8 @@ export const useBlogListStore = defineStore("blog-list", { this.error = null; let published = showDrafts - ? "&is_published=false" - : "&is_published=true"; + ? "is_published=false" + : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : ""; @@ -74,8 +74,8 @@ export const useBlogListStore = defineStore("blog-list", { this.error = null; let published = showDrafts - ? "&is_published=false" - : "&is_published=true"; + ? "is_published=false" + : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : "";