Skip to content

Commit

Permalink
Merge pull request snipe#14020 from snipe/bug/sc-24326
Browse files Browse the repository at this point in the history
Added $user->created_at to API user create method
  • Loading branch information
snipe authored Dec 12, 2023
2 parents 068f64a + e894138 commit 6bb842f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Api/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ public function store(SaveUserRequest $request)

$user = new User;
$user->fill($request->all());
$user->created_by = Auth::user()->id;

if ($request->has('permissions')) {
$permissions_array = $request->input('permissions');
Expand Down

0 comments on commit 6bb842f

Please sign in to comment.