[openstreetmap/openstreetmap-website] feat: add social links and company to user api endpoint (PR #6452)
Moritz Stückler
notifications at github.com
Thu Oct 23 20:56:44 UTC 2025
@pReya commented on this pull request.
> @@ -487,6 +501,20 @@ def check_xml_details(user, include_private, include_email)
def check_json_details(js, user, include_private, include_email)
assert_equal user.id, js["user"]["id"]
assert_equal user.description, js["user"]["description"]
+ assert_equal user.company, js["user"]["company"]
+
+ if user.social_links.present?
+ assert_not_nil js["user"]["social_links"]
+ assert_equal user.social_links.length, js["user"]["social_links"].length
+ user.social_links.each_with_index do |link, index|
Should be fixed now by applying changes from @pablobm
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6452#discussion_r2457315632
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6452/review/3372661657 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251023/ab068329/attachment.htm>
More information about the rails-dev
mailing list