mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Incient
This commit is contained in:
@@ -23,12 +23,12 @@ export class Service extends DatabaseService<Model> {
|
||||
createBy: CreateBy<Model>
|
||||
): Promise<OnCreate<Model>> {
|
||||
if (!createBy.data.order) {
|
||||
throw new BadDataException('Incient severity order is required');
|
||||
throw new BadDataException('Incident severity order is required');
|
||||
}
|
||||
|
||||
if (!createBy.data.projectId) {
|
||||
throw new BadDataException(
|
||||
'Incient severity projectId is required'
|
||||
'Incident severity projectId is required'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@ export class Service extends DatabaseService<Model> {
|
||||
createBy: CreateBy<Model>
|
||||
): Promise<OnCreate<Model>> {
|
||||
if (!createBy.data.order) {
|
||||
throw new BadDataException('Incient State order is required');
|
||||
throw new BadDataException('Incident State order is required');
|
||||
}
|
||||
|
||||
if (!createBy.data.projectId) {
|
||||
throw new BadDataException('Incient State projectId is required');
|
||||
throw new BadDataException('Incident State projectId is required');
|
||||
}
|
||||
|
||||
await this.rearrangeOrder(
|
||||
|
||||
@@ -23,11 +23,11 @@ export class Service extends DatabaseService<Model> {
|
||||
createBy: CreateBy<Model>
|
||||
): Promise<OnCreate<Model>> {
|
||||
if (!createBy.data.order) {
|
||||
throw new BadDataException('Incient State order is required');
|
||||
throw new BadDataException('Incident State order is required');
|
||||
}
|
||||
|
||||
if (!createBy.data.projectId) {
|
||||
throw new BadDataException('Incient State projectId is required');
|
||||
throw new BadDataException('Incident State projectId is required');
|
||||
}
|
||||
|
||||
await this.rearrangeOrder(
|
||||
|
||||
Reference in New Issue
Block a user