Kaynağa Gözat

fix: detail topup error 403

Muhammad Iqbal Afandi 3 yıl önce
ebeveyn
işleme
0e4a80e992
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      app/Policies/TopUpPolicy.php

+ 1
- 1
app/Policies/TopUpPolicy.php Dosyayı Görüntüle

30
      */
30
      */
31
     public function view(User $user, TopUp $topUp)
31
     public function view(User $user, TopUp $topUp)
32
     {
32
     {
33
-        return $user->role_id !== 3;
33
+        return $user->role_id !== 1;
34
     }
34
     }
35
 
35
 
36
     /**
36
     /**