summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-12-08 15:37:05 +0100
committerRémy Coutable <remy@rymai.me>2016-12-08 15:37:05 +0100
commit517ce4e5374268c7b7f64bcfb1313196496dfdf4 (patch)
tree90c1d0ef1b6bd68a601cab846bee736fa7f7cd7f
parent390f8bc7d2e599020c5c9d24b32ccacb2c79d006 (diff)
downloadgitlab-ce-517ce4e5374268c7b7f64bcfb1313196496dfdf4.tar.gz
Remove `organization` from the user JSON API schema
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--spec/fixtures/api/schemas/user/login.json1
-rw-r--r--spec/fixtures/api/schemas/user/public.json2
2 files changed, 0 insertions, 3 deletions
diff --git a/spec/fixtures/api/schemas/user/login.json b/spec/fixtures/api/schemas/user/login.json
index e6c1d9c9d84..e2b4f12d201 100644
--- a/spec/fixtures/api/schemas/user/login.json
+++ b/spec/fixtures/api/schemas/user/login.json
@@ -16,7 +16,6 @@
"linkedin",
"twitter",
"website_url",
- "organization",
"last_sign_in_at",
"confirmed_at",
"theme_id",
diff --git a/spec/fixtures/api/schemas/user/public.json b/spec/fixtures/api/schemas/user/public.json
index dbd5d32e89c..d498427a489 100644
--- a/spec/fixtures/api/schemas/user/public.json
+++ b/spec/fixtures/api/schemas/user/public.json
@@ -16,7 +16,6 @@
"linkedin",
"twitter",
"website_url",
- "organization",
"last_sign_in_at",
"confirmed_at",
"theme_id",
@@ -51,7 +50,6 @@
"linkedin": { "type": "string" },
"twitter": { "type": "string "},
"website_url": { "type": "string" },
- "organization": { "type": ["string", "null"] },
"last_sign_in_at": { "type": "date" },
"confirmed_at": { "type": ["date", "null"] },
"theme_id": { "type": "integer" },