add group_join_api direct pass

Brightcells 9 anni fa
parent
commit
7fd74ed1e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      group/views.py

+ 1 - 1
group/views.py

@@ -164,7 +164,7 @@ def group_join_api(request):
164 164
         user_id=user_id,
165 165
         nickname=nickname or user.username,
166 166
         admin=False,
167
-        user_status=GroupUserInfo.APPLYING,
167
+        user_status=GroupUserInfo.PASSED,
168 168
     )
169 169
 
170 170
     return JsonResponse({