Skip to content

Commit

Permalink
Update User.php
Browse files Browse the repository at this point in the history
  • Loading branch information
amrron authored Oct 18, 2024
1 parent 40d0f25 commit 6a42efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function getKeteranganAktivitasAttribute(){
}

public function getLanggananAttribute(){
return $this->is_premium && $this->premium_until > now();
return $this->premium_until > now();
}

public function transactions() {
Expand Down

0 comments on commit 6a42efc

Please sign in to comment.