Fix tests & remove code smell
This commit is contained in:
parent
1eec46494c
commit
f72f42de85
2 changed files with 2 additions and 1 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
env:
|
||||
ROOT_FOLDER: /test
|
||||
JWT_SECRET: "secret"
|
||||
ROOT_FOLDER_HOST: /tipi
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
|
|
|
@ -65,7 +65,7 @@ const getMemoryInfo = async (req: Request, res: Response<MemoryData>) => {
|
|||
res.status(200).json(result);
|
||||
};
|
||||
|
||||
const getVersion = async (req: Request, res: Response<{ current: string; latest: string }>) => {
|
||||
const getVersion = async (_: Request, res: Response<{ current: string; latest: string }>) => {
|
||||
let version = TipiCache.get<string>('latestVersion');
|
||||
|
||||
if (!version) {
|
||||
|
|
Loading…
Add table
Reference in a new issue