From 3e89f0bc5e3bbce22ddd72bde22cd1dacc7a04af Mon Sep 17 00:00:00 2001 From: Max Dor Date: Tue, 8 Jan 2019 02:34:43 +0100 Subject: [PATCH] Fix #109 --- docs/stores/rest.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/stores/rest.md b/docs/stores/rest.md index 9f409f8..09fa18b 100644 --- a/docs/stores/rest.md +++ b/docs/stores/rest.md @@ -268,3 +268,10 @@ Structure with example values: } ``` The base `profile` key is mandatory. `display_name`, `threepids` and `roles` are only to be returned on the relevant request. + +If there is no profile, the following response is expected: +```json +{ + "profile": {} +} +```