Page MenuHomePhabricator

Server does not send `user` of anonymous post even when the authenticated user made the post
Open, NormalPublic

Description

Response on sample data:

{"id":"344413144","author":null,"anonym":true,"subscribed":true,"created":"2019-12-05T12:50:19.982188Z","active":true,"text":"↑↑↓↓←→←→ba","image":null,"additional_images":[],"comments":[{"id":7,"author":{"user":1,"name":"admin","avatar":null,"bio":"The sampledata superuser.\nLogin: `admin:password123`","banned":false},"created":"2019-12-05T12:50:19.996976Z","text":"コナミコマンド","image":null},{"id":8,"author":{"user":2,"name":"user","avatar":null,"bio":"","banned":false},"created":"2019-12-05T12:50:20.011938Z","text":"If some chars on this page don't display correctly, you probably need a different font❗","image":null}]}

Expected response:

{"id":"344413144","author":{"user":2,"name":"user","avatar":null,"bio":"","banned":false},"anonym":true,"subscribed":true,"created":"2019-12-05T12:50:19.982188Z","active":true,"text":"↑↑↓↓←→←→ba","image":null,"additional_images":[],"comments":[{"id":7,"author":{"user":1,"name":"admin","avatar":null,"bio":"The sampledata superuser.\nLogin: `admin:password123`","banned":false},"created":"2019-12-05T12:50:19.996976Z","text":"コナミコマンド","image":null},{"id":8,"author":{"user":2,"name":"user","avatar":null,"bio":"","banned":false},"created":"2019-12-05T12:50:20.011938Z","text":"If some chars on this page don't display correctly, you probably need a different font❗","image":null}]}

Event Timeline

Hackintosh5 triaged this task as Normal priority.Dec 5 2019, 1:00 PM
Hackintosh5 created this task.
Hackintosh5 added a project: Server API.
Hackintosh5 updated the task description. (Show Details)Dec 5 2019, 1:02 PM