fix: make user id nullable

This commit is contained in:
2025-12-12 21:18:01 +03:30
parent be0abcb614
commit c4a05cc67c
2 changed files with 38 additions and 1 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ public function packageStore(Request $request, PackageName $packageName)
$reminder = Reminder::create([
...$data,
'package_name_id' => $packageName->id,
'user_id' => Auth::id()
'user_id' => null
]);
return response()->json($reminder, 201);