mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-08-24 10:04:09 -05:00
chore: upgrade to express 5
This commit is contained in:
1061
package-lock.json
generated
1061
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@
|
||||
"colors": "^1.4.0",
|
||||
"dicer": "^0.3.1",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^4.21.2",
|
||||
"express": "^5.1.0",
|
||||
"express-subdomain": "^1.0.6",
|
||||
"fs-extra": "^11.2.0",
|
||||
"moment": "^2.30.1",
|
||||
|
||||
@@ -46,7 +46,7 @@ export async function uploadFile(request: UploadFileRequest, context: CallContex
|
||||
throw new ServerError(Status.INVALID_ARGUMENT, 'BOSS app ID must only contain letters and numbers');
|
||||
}
|
||||
|
||||
if (!await getTask(bossAppID, taskID)) {
|
||||
if (!(await getTask(bossAppID, taskID))) {
|
||||
throw new ServerError(Status.NOT_FOUND, `Task ${taskID} does not exist for BOSS app ${bossAppID}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user