Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Patrick Passarella
Beigetreten 07. Dez. 2021
·
Letzte Aktivität 16. Dez. 2021
Folge ich
0
Follower
0
Gesamtaktivitäten
5
Stimme
1
Abonnement
1
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Patrick Passarella
Patrick Passarella hat einen Kommentar hinterlassen
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.
Kommentar anzeigen · Gepostet 16. Dez. 2021 · Patrick Passarella
0
Follower
0
Stimmen
0
Kommentare
Patrick Passarella hat einen Kommentar hinterlassen
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.
Kommentar anzeigen · Bearbeitet 08. Dez. 2021 · Patrick Passarella
0
Follower
0
Stimmen
0
Kommentare
Patrick Passarella hat einen Kommentar hinterlassen
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.
Kommentar anzeigen · Gepostet 07. Dez. 2021 · Patrick Passarella
0
Follower
0
Stimmen
0
Kommentare