waterthetrees / wtt_server

Water The Trees Postgres/Express/Node.js backend
https://waterthetrees.com
Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

"Like" feature bugs #121

Closed mwpark2014 closed 1 year ago

mwpark2014 commented 1 year ago

Mobile: Possible to "like" a tree twice. I'm not sure if this is intentional, but I don't know why I would be able to contribute two stars

Image

Desktop: Liking doesn't seem to work at all on prod For URL https://waterthetrees.com/#pos=14.13/36.60411/-121.91837&id=308168335032266, console logs show:

mutation.js:106 Error: 500 (Internal Server Error) https://waterthetrees.com/api/trees
    at apiUtils.js:48:13
    at c (runtime.js:63:40)
    at Generator._invoke (runtime.js:294:22)
    at Generator.next (runtime.js:119:21)
    at r (asyncToGenerator.js:3:20)
    at s (asyncToGenerator.js:25:9)
(anonymous) @ mutation.js:106
queries.js:68 useMutation: undefined trees,treemap Error: 500 (Internal Server Error)