From 757a12c7d62d09cc8333b14d549658992ce41697 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Mon, 4 Nov 2013 13:31:54 +0400 Subject: [PATCH] Github: fix Gists after using 'v3' media type --- .../src/org/jetbrains/plugins/github/api/GithubGistRaw.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/github/src/org/jetbrains/plugins/github/api/GithubGistRaw.java b/plugins/github/src/org/jetbrains/plugins/github/api/GithubGistRaw.java index 17919fe99846..2ff77971fe9e 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/api/GithubGistRaw.java +++ b/plugins/github/src/org/jetbrains/plugins/github/api/GithubGistRaw.java @@ -42,7 +42,7 @@ class GithubGistRaw implements DataConstructor { @Nullable public Map files; - @Nullable public GithubUserRaw user; + @Nullable public GithubUserRaw owner; @Nullable public Date createdAt; @@ -66,7 +66,7 @@ class GithubGistRaw implements DataConstructor { @SuppressWarnings("ConstantConditions") @NotNull public GithubGist createGist() { - GithubUser user = this.user == null ? null : this.user.createUser(); + GithubUser user = this.owner == null ? null : this.owner.createUser(); List files = new ArrayList(); for (Map.Entry entry : this.files.entrySet()) {