fixed name

This commit is contained in:
Edward Yang 2022-07-27 11:07:30 +08:00
parent fad0422534
commit 7254ab4b06
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class RegionRepo
$region = new Region();
}
$region->fill([
'name' => $data['title'],
'name' => $data['name'],
'description' => $data['description'],
]);
$region->saveOrFail();