Recherches récentes
Pas de recherche récente

Patrick Passarella
Adhésion le 07 déc. 2021
·
Dernière activité le 16 déc. 2021
Suivis
0
Abonnés
0
Activité totale
5
vote
1
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Patrick Passarella
Patrick Passarella a ajouté un commentaire,
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.
Afficher le commentaire · Publication le 16 déc. 2021 · Patrick Passarella
0
Abonnés
0
Votes
0
Commentaire
Patrick Passarella a ajouté un commentaire,
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.
Afficher le commentaire · Modification le 08 déc. 2021 · Patrick Passarella
0
Abonnés
0
Votes
0
Commentaire
Patrick Passarella a ajouté un commentaire,
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.
Afficher le commentaire · Publication le 07 déc. 2021 · Patrick Passarella
0
Abonnés
0
Votes
0
Commentaire