Skip to content

Commit

Permalink
Merge pull request #86 from jspsych/add-api-docs
Browse files Browse the repository at this point in the history
fix GET -> POST
  • Loading branch information
jodeleeuw authored May 30, 2023
2 parents 815d216 + cff4e79 commit ada386f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/api-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function ApiDocs() {
Get condition assignment
</Heading>
<Text>
<Badge colorScheme="blue">GET</Badge> /api/condition
<Badge colorScheme="green">POST</Badge> /api/condition
</Text>
<Text>
Get the next condition assignment in an experiment. The condition is a numerical value from 0 to n-1, where n
Expand Down

0 comments on commit ada386f

Please sign in to comment.