fix: 불가침제의를 원래 의도대로 6개월로 변경

This commit is contained in:
2022-03-24 10:59:04 +09:00
parent 1d1f37e128
commit da91d66179
@@ -101,13 +101,13 @@ class che_불가침제의 extends Command\NationCommand
$nationID = $this->nation['nation'];
if ($reqMonth < $currentMonth + 12) {
if ($reqMonth < $currentMonth + 6) {
$this->permissionConstraints = [
ConstraintHelper::AlwaysFail('기한은 1년 이상이어야 합니다.')
ConstraintHelper::AlwaysFail('기한은 6개월 이상이어야 합니다.')
];
$this->fullConditionConstraints = [
ConstraintHelper::AlwaysFail('기한은 1년 이상이어야 합니다.')
ConstraintHelper::AlwaysFail('기한은 6개월 이상이어야 합니다.')
];
return;
}