Ricerche recenti
Nessuna ricerca recente

Patrick Passarella
Data ingresso 07 dic 2021
·
Ultima attività 16 dic 2021
Seguiti
0
Follower
0
Attività totali
5
Voto
1
Abbonamento
1
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Patrick Passarella
Patrick Passarella ha commentato,
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.
Visualizza commento · Data ultimo post: 16 dic 2021 · Patrick Passarella
0
Follower
0
Voti
0
Commenti
Patrick Passarella ha commentato,
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.
Visualizza commento · Data ultima modifica: 08 dic 2021 · Patrick Passarella
0
Follower
0
Voti
0
Commenti
Patrick Passarella ha commentato,
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.
Visualizza commento · Data ultimo post: 07 dic 2021 · Patrick Passarella
0
Follower
0
Voti
0
Commenti