최근 검색
최근 검색 없음

Patrick Passarella
가입한 날짜: 2021년 12월 07일
·
마지막 활동: 2021년 12월 16일
팔로잉
0
팔로워
0
총 활동 수
5
투표
1
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Patrick Passarella
Patrick Passarella님이 에 댓글을 입력함
Yes exactly.
And I wanted to create an anonymous vote, but the user_id always gets saved with my user_id.
But I managed to do that, by passing an empty string on the body's user id.
댓글 보기 · 2021년 12월 16일에 게시됨 · Patrick Passarella
0
팔로워
0
투표 수
0
댓글
Patrick Passarella님이 에 댓글을 입력함
I understand, but that's not what's happening for me. When an anonymous user votes, it's recorded as if the vote was from the admin (the creator of the token used for the vote request).
But what I understand is that the user_id for the vote should be null. It only works if I explicitly pass an empty string (or unexistent id) to the user_id on the vote object.
댓글 보기 · 2021년 12월 08일에 편집됨 · Patrick Passarella
0
팔로워
0
투표 수
0
댓글
Patrick Passarella님이 에 댓글을 입력함
Hi, when voting with an anonymous user (while not logged in), the vote on the article is assigned to the user_id of who created the token to make the request, is that right? I wanted to differentiate the anonymous users from the ones who are signed in.
댓글 보기 · 2021년 12월 07일에 게시됨 · Patrick Passarella
0
팔로워
0
투표 수
0
댓글