<p></p>
<p><b>@gravitystorm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3164#discussion_r608504385">app/views/api/user_preferences/index.json.jbuilder</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1 @@
+json.partial! @user_preferences
</pre>
<p>I should also say that the preferences are analogous to "tags" on nodes/ways/relations, in that they are already implemented in the nodes/way/relations responses so you can see how it's done there, and for json we already decided to drop the "k/v" stuff so as <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/pnorman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pnorman">@pnorman</a> mentioned it's fine to use object attributes directly for them here too.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3164#discussion_r608504385">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMOKJM3SYHVRTPQTUDTHQSXZANCNFSM42P4F7NQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMQL2R2NI6WHSSAETDTHQSXZA5CNFSM42P4F7N2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEWFBWIY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3164#discussion_r608504385",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3164#discussion_r608504385",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>