Skip to content

Commit

Permalink
fix after conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Sep 5, 2023
1 parent 97f4f9e commit 957bc90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/Models/Organization.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,11 @@ public function markAsRejected(): bool
'status_updated_at' => $this->freshTimestamp(),
]);
}

public function markAsPending(): bool
{
return $this->update([
'status' => OrganizationStatus::pending
]);
}
}

0 comments on commit 957bc90

Please sign in to comment.