From 7e6c3d4b9baddfa1edb825c6fdf980cc690676f3 Mon Sep 17 00:00:00 2001 From: RundelhausCode Date: Fri, 19 Mar 2021 13:51:25 +0100 Subject: [PATCH] fix --- .gitignore | 2 ++ Backend/Controllers/Group/GetGroup.php | 2 +- Backend/Database/AdminUser.php | 2 +- Backend/Database/GameData.php | 2 +- Backend/Database/GameJam.php | 2 +- Backend/Database/Group.php | 2 +- Backend/Database/KeyWord.php | 2 +- Backend/Database/Password.php | 2 +- Backend/Database/Vote.php | 2 +- Backend/Database/databaseMigration.php | 3 --- Backend/Main.php | 2 +- 11 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index e102757..de10198 100644 --- a/.gitignore +++ b/.gitignore @@ -111,3 +111,5 @@ composer.phar /Frontend/images/ /Test/ /Test/ +/.vs/ +*.sqlite diff --git a/Backend/Controllers/Group/GetGroup.php b/Backend/Controllers/Group/GetGroup.php index dad8464..1b1203d 100644 --- a/Backend/Controllers/Group/GetGroup.php +++ b/Backend/Controllers/Group/GetGroup.php @@ -3,7 +3,7 @@ require_once "../../../bootstrap.php"; use Backend\Models\Group; if (isset($_GET["groupId"])){ -$groups = Group::find($_GET["groupId"]); + $groups = Group::find($_GET["groupId"]); } elseif(isset($_GET["gameJameId"])){ $groups = Group::where("game_jam_id",$_GET["gameJameId"])->get(); diff --git a/Backend/Database/AdminUser.php b/Backend/Database/AdminUser.php index 13bba7e..d82351a 100644 --- a/Backend/Database/AdminUser.php +++ b/Backend/Database/AdminUser.php @@ -1,6 +1,6 @@ 'admin', 'password' => password_hash("Aa123456&",PASSWORD_DEFAULT) -]); \ No newline at end of file diff --git a/Backend/Main.php b/Backend/Main.php index 9e8ec94..da0dd5e 100644 --- a/Backend/Main.php +++ b/Backend/Main.php @@ -3,7 +3,7 @@ use Backend\Models\GameJam; use Illuminate\Contracts\Config; require_once('../bootstrap.php'); - +" tis is a string'' "; $gameJam = GameJam::firstOrCreate([ 'name' => "First game jam ever!", 'start_time' => "2021-03-03T12:40", 'end_time' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"