What happened to user stats?


(Ryan Wanger) #1

I have some code that looks like:

response = @discourse_client.get("/users/by-external/#{user_id}")
stats = response[“body”][“user”][“stats”]

…and then went on to do things with the stats (like get the number of topics created).

I know this worked relatively recently (I saved certain stats into my database), but at the moment [“stats”] is not being returned. Did it go away, or am I crazy?