From 18cdeee38d9ccbc49ebcc0e049194b42fd5773cc Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 17 May 2011 10:28:41 -0700 Subject: [PATCH] Add is_gold parameter to user JSON. --- r2/r2/lib/jsontemplates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index b0f655b75..5510383b8 100644 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -202,7 +202,8 @@ class AccountJsonTemplate(ThingJsonTemplate): comment_karma = "comment_karma", has_mail = "has_mail", has_mod_mail = "has_mod_mail", - is_mod = "is_mod" + is_mod = "is_mod", + is_gold = "gold" ) def thing_attr(self, thing, attr):