Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pr_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"deploy": "firebase deploy"
},
"engines": {
"node": "18"
"node": "20"
},
"license": "MIT",
"devDependencies": {
Expand Down
8 changes: 7 additions & 1 deletion public/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,13 @@
"name": "network",
"in": "path",
"required": true,
"type": "string"
"type": "string",
"description": "The network name. Supported networks: astar, shiden, shibuya",
"enum": [
"astar",
"shiden",
"shibuya"
]
}
],
"responses": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/TokenStatsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class TokenStatsController extends ControllerBase implements IControllerB
#swagger.tags = ['Token']
#swagger.parameters['network'] = {
in: 'path',
description: 'The network name. Supported networks: astar, shiden, shibuya'
description: 'The network name. Supported networks: astar, shiden, shibuya',
required: true,
enum: ['astar', 'shiden', 'shibuya']
}
Expand Down