Closed masvelio closed 9 months ago
Links provided in the new create community form are not displayed in the app.
add FLAG_NEW_CREATE_COMMUNITY=true to .env
FLAG_NEW_CREATE_COMMUNITY=true
marcin.5896.create-community-backend
/createCommunity
https://github.com/hicommonwealth/commonwealth/assets/14819225/883bc590-0303-4062-a1f3-2d780a3c656d
payload with links to POST /api/communities
{"id":"testcomm","name":"testcomm","base":"ethereum","description":"community description","icon_url":"https://assets.commonwealth.im/03d2c322-fce3-49d4-99ed-3ff27335125c.png","social_links":["https://www.discord.com/","https://discord.com/","https://www.telegram.com/","https://telegram.com/","https://github.com/","https://www.github.com/"],"eth_chain_id":"1","node_url":"https://eth-mainnet.g.alchemy.com/v2/pZsX6R3wGdnwhUJHlVmKg4QqsiS32Qm4","alt_wallet_url":"https://eth-mainnet.g.alchemy.com/v2/pZsX6R3wGdnwhUJHlVmKg4QqsiS32Qm4","type":"offchain","network":"ethereum","default_symbol":"TEST","jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTEwMjkyLCJlbWFpbCI6bnVsbCwiaWF0IjoxNzAyNDc5NDQ4fQ.w3bUdFgDPyV13sKwAxqHDW9dftVLYCjEjxCrhDLRLcs"}
DB dump select social_links from "Communities" where id = 'testeth3'
select social_links from "Communities" where id = 'testeth3'
I tried https://github.com/hicommonwealth/commonwealth/pull/5999 (from @kurtisassad) locally and it fixes this issue.
cc: @masvelio @jnaviask
Describe the bug
Links provided in the new create community form are not displayed in the app.
To Reproduce
add
FLAG_NEW_CREATE_COMMUNITY=true
to .envmarcin.5896.create-community-backend
and page/createCommunity
https://github.com/hicommonwealth/commonwealth/assets/14819225/883bc590-0303-4062-a1f3-2d780a3c656d
Expected behavior
Additional context
payload with links to POST /api/communities
DB dump
select social_links from "Communities" where id = 'testeth3'