wzq 5 anni fa
parent
commit
f2a4565a71
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -631,7 +631,7 @@ class PostRepository
 
         $logData = [
             'uid' => $token['user']->id,
-            'operator_type' => 'user',
+            'operator_type' => 'admin',
             'post_id' => $request['id'],
             'username' => $token['user']->username,
             'log_type' => 'delete',