mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix lint.
This commit is contained in:
@@ -13,7 +13,7 @@ export default {
|
||||
|
||||
if (projectId) {
|
||||
if (!apiMiddleware.isValidProjectId(projectId)) {
|
||||
return SendErrorResponse(req, res, {
|
||||
return sendErrorResponse(req, res, {
|
||||
message: 'Project Id is not valid',
|
||||
code: 400,
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'common-server/utils/env';
|
||||
import 'common-server/utils/process';
|
||||
import { Request, Response } from 'common-server/utils/express';
|
||||
import Express, { Request, Response } from 'common-server/utils/express';
|
||||
const app = Express.launchApplication();
|
||||
|
||||
app.get(['/probe-api/status', '/status'], function(
|
||||
|
||||
Reference in New Issue
Block a user