瀏覽代碼

Fix Groups manager

Visman 3 年之前
父節點
當前提交
3c2ee8f1ae
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Models/Group/Groups.php

+ 2 - 2
app/Models/Group/Groups.php

@@ -75,7 +75,7 @@ class Groups extends Manager
      */
      */
     public function update(Group $group): Group
     public function update(Group $group): Group
     {
     {
-        return $this->Save->update($group);
+        return $this->save->update($group);
     }
     }
 
 
     /**
     /**
@@ -83,7 +83,7 @@ class Groups extends Manager
      */
      */
     public function insert(Group $group): int
     public function insert(Group $group): int
     {
     {
-        $id = $this->Save->insert($group);
+        $id = $this->save->insert($group);
         $this->set($id, $group);
         $this->set($id, $group);
 
 
         return $id;
         return $id;