From 7e5d35d79a90c53b12853625b229c9e484e7d3b8 Mon Sep 17 00:00:00 2001 From: Howl Date: Mon, 5 Sep 2016 23:45:11 +0200 Subject: [PATCH] make userpage content nil-able --- app/v1/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/user.go b/app/v1/user.go index 9872812..f3c6b8e 100644 --- a/app/v1/user.go +++ b/app/v1/user.go @@ -229,7 +229,7 @@ LIMIT 1 type userpageResponse struct { common.ResponseBase - Userpage string `json:"userpage"` + Userpage *string `json:"userpage"` } // UserUserpageGET gets an user's userpage, as in the customisable thing.