P-100
This commit is contained in:
1 parent
3fa0b60e1e
commit
3e87cbb273
1 file changed
+1
-1
@@ -65,7 +65,7 @@ class VoteCreate(APIView):
|
|||||||
|
|
||||||
def create_vote(self, request):
|
def create_vote(self, request):
|
||||||
|
|
||||||
user = User.objects.get(user=request.user)
|
user = request.user
|
||||||
|
|
||||||
# for test
|
# for test
|
||||||
# # user = DictEmployee.objects.get(login='9966-00-125')
|
# # user = DictEmployee.objects.get(login='9966-00-125')
|
||||||
|
|||||||
Reference in new issue
Block a user