GoodDollar / GoodCollective

Monorepo for GoodCollective (Segmented UBI and Direct Payments Pool)
MIT License
3 stars 1 forks source link

fetch full names of users #113

Closed krisbitney closed 5 months ago

krisbitney commented 5 months ago

Adds support for fetching users' full names from GoodDollar's mongodb database

krisbitney commented 5 months ago

@sirpy @L03TJ3 I don't have a way to test whether the fetch from mongodb is working. Could you please assign a full name to a supporter or steward's address in your database and tell me the address?

You can use my address if you'd like: 0xC3C54Ee8B495A5004602AFf40c5880fb8E375aaD.

L03TJ3 commented 5 months ago

@sirpy

  1. from localhost this does not work as origin is blocked by realm
  2. is it even possible to add these type of domains: https://good-collective-h7tf69zke-gooddollarteam.vercel.app/ to accepted origin list? (the deployment link is updated every push to web3Integrations branch)
krisbitney commented 5 months ago

I just remembered that I forgot to add caching. I will add that tomorrow.

krisbitney commented 5 months ago

@sirpy I am getting the following error. Is this the issue of needing to whitelist a URL? The same as before?

Screenshot 2024-01-18 at 1 57 12 PM

This is happening in the deployment preview, so it doesn't seem to be a CORS issue.

https://good-collective-2cu9o7u9x-gooddollarteam.vercel.app/collective/0x11f18e8f2a27d54a605cf10486b3d4c5aeeba81f/donors