From f3ff1c4f3baf3dcc091f4f5f405235e9c65715dc Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Fri, 1 Feb 2013 14:43:15 -0800 Subject: [PATCH] Expose user over_18 setting to the me.json API. --- r2/r2/lib/jsontemplates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index 2a73fe04a..a0f93ee8c 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -244,6 +244,7 @@ class IdentityJsonTemplate(ThingJsonTemplate): comment_karma = "comment_karma", is_gold = "gold", is_mod = "is_mod", + over_18 = "pref_over_18", ) def thing_attr(self, thing, attr):