feat: fix response time group
parent
ffd8595ab2
commit
5e328fda1e
|
@ -37,7 +37,7 @@ export class CreateTimeGroupManager extends BaseCreateManager<TimeGroupEntity> {
|
||||||
|
|
||||||
if (max_usage_time.isBefore(end_time)) {
|
if (max_usage_time.isBefore(end_time)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'Waktu maksimum penggunaan harus lebih kecil dari waktu selesai.',
|
'Waktu maksimum penggunaan harus lebih besar dari waktu selesai.',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -38,7 +38,7 @@ export class UpdateTimeGroupManager extends BaseUpdateManager<TimeGroupEntity> {
|
||||||
|
|
||||||
if (max_usage_time.isBefore(end_time)) {
|
if (max_usage_time.isBefore(end_time)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'Waktu maksimum penggunaan harus lebih kecil dari waktu selesai.',
|
'Waktu maksimum penggunaan harus lebih besar dari waktu selesai.',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue