2 files changed
+3
-2
No files matched your search
@@ -7,7 +7,7 @@ const __filename = fileURLToPath(import.meta.url);
|
|||||||
const __dirname = path.dirname(__filename);
|
const __dirname = path.dirname(__filename);
|
||||||
|
|
||||||
export default defineConfig(({}) => {
|
export default defineConfig(({}) => {
|
||||||
let version = "3.6.0";
|
let version = "3.6.1";
|
||||||
|
|
||||||
return {
|
return {
|
||||||
base: "/",
|
base: "/",
|
||||||
|
|||||||
@@ -90,7 +90,8 @@ class IncidentController implements IIncidentController {
|
|||||||
throw new AppError({ message: "Incident ID is required", service: SERVICE_NAME, status: 400 });
|
throw new AppError({ message: "Incident ID is required", service: SERVICE_NAME, status: 400 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const resolvedIncident = await this.incidentService.resolveIncident(incidentId, userId, teamId, req?.body?.comment, userEmail);
|
const comment = Array.isArray(req.body.comment) ? req.body.comment[0] : req.body.comment;
|
||||||
|
const resolvedIncident = await this.incidentService.resolveIncident(incidentId, userId, teamId, comment, userEmail);
|
||||||
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
success: true,
|
success: true,
|
||||||
|
|||||||
Reference in new issue
Block a user