~cypheon/nextcloud-chores-app

14b39dce61a0349bbd53303cd5d5e3c1489ac79b — Johann Rudloff a month ago d1e75f5 main 0.0.4
Make sure a value for `content` is always set when creating a team, since default handling is wonky
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/Controller/APIController.php
M lib/Controller/APIController.php => lib/Controller/APIController.php +1 -0
@@ 237,6 237,7 @@ class APIController extends Controller {
    $team = Team::fromParams([
      "teamName" => $this->request->post["name"],
      "ownerUserId" => $this->userId,
      "content" => "",
    ]);
    $team = $this->teamMapper->insert($team);
    $founderMember = Member::fromParams([