This commit is contained in:
Carl Downing
2023-07-30 14:37:06 -07:00
parent 2850be45dd
commit 916f5bac5f
3 changed files with 6 additions and 6 deletions

View File

@@ -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'
);
}

View File

@@ -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(

View File

@@ -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(