Pesquisas recentes
Sem pesquisas recentes

Patrick Passarella
Entrou em 07 de dez. de 2021
·
Última atividade em 16 de dez. de 2021
Seguindo
0
Seguidores
0
Atividade total
5
Votos
1
Assinatura
1
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Patrick Passarella
Patrick Passarella comentou,
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.
Exibir comentário · Publicado 16 de dez. de 2021 · Patrick Passarella
0
Seguidores
0
Votos
0
Comentários
Patrick Passarella comentou,
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.
Exibir comentário · Editado 08 de dez. de 2021 · Patrick Passarella
0
Seguidores
0
Votos
0
Comentários
Patrick Passarella comentou,
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.
Exibir comentário · Publicado 07 de dez. de 2021 · Patrick Passarella
0
Seguidores
0
Votos
0
Comentários