diff --git a/.github/workflows/firebase-deploy-test.yml b/.github/workflows/firebase-deploy-test.yml
index 7dcb351..c35da6d 100644
--- a/.github/workflows/firebase-deploy-test.yml
+++ b/.github/workflows/firebase-deploy-test.yml
@@ -28,7 +28,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install firebase tools
- run: npm install -g firebase-tools
+ run: npm install -g firebase-tools@12.1.0
- name: Enable firebase webframeworks
run: firebase experiments:enable webframeworks
- run: npm ci
diff --git a/.github/workflows/firebase-deploy.yml b/.github/workflows/firebase-deploy.yml
index 084483b..3d3607e 100644
--- a/.github/workflows/firebase-deploy.yml
+++ b/.github/workflows/firebase-deploy.yml
@@ -29,7 +29,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install firebase tools
- run: npm install -g firebase-tools
+ run: npm install -g firebase-tools@12.1.0
- name: Enable firebase webframeworks
run: firebase experiments:enable webframeworks
- run: npm ci
diff --git a/pages/api-docs.js b/pages/api-docs.js
index 87dc8ab..8e6272f 100644
--- a/pages/api-docs.js
+++ b/pages/api-docs.js
@@ -102,7 +102,7 @@ export default function ApiDocs() {
Get condition assignment
- GET /api/condition
+ POST /api/condition
Get the next condition assignment in an experiment. The condition is a numerical value from 0 to n-1, where n