最近搜索
没有最近搜索

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
评论