diff --git a/README.md b/README.md index 0499f52..701745b 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ Username or UUID -> Everything
}, "legacy": , "demo": , + "profile_actions": [ + + ], "created_at": } ``` @@ -77,6 +80,9 @@ UUID -> Profile + Textures
"name": "textures", "value": // Then decode the base64 string and make http requests to fetch the textures... } + ], + "profile_actions": [ + ] } ``` diff --git a/src/api.coffee b/src/api.coffee index a181550..39a20a0 100644 --- a/src/api.coffee +++ b/src/api.coffee @@ -65,6 +65,7 @@ export user = (id) -> raw: {value: texturesRaw.value, signature: texturesRaw.signature} unless texturesRaw.isEmpty() legacy: true if profile.legacy demo: true if profile.demo + profile_actions: profile.profileActions ? [] created_at: date await USERS.put(id, JSON.stringify(response), {expirationTtl: 3600}) respond(response, json: true)