alakajam-team / alakajam

Website powering the Alakajam! game making community
https://alakajam.com/
Other
29 stars 13 forks source link

500 Error upon deleting user #660

Open mkalam-alami opened 2 years ago

mkalam-alami commented 2 years ago
2022-03-29 21:19:17.566 ERROR (/server/error.middleware.ts:60) HTTP 500: Something went wrong, sorry about that.
TypeError: Cannot read property 'approbation_state' of undefined
    at render (/var/www/alakajam/server/user/dashboard/settings/dashboard-settings.template.tsx:15:40)
    at JsxPistols.<anonymous> (/var/www/alakajam/node_modules/jsx-pistols/dist/index.js:142:37)
    at step (/var/www/alakajam/node_modules/jsx-pistols/dist/index.js:52:23)
    at Object.next (/var/www/alakajam/node_modules/jsx-pistols/dist/index.js:33:53)
    at /var/www/alakajam/node_modules/jsx-pistols/dist/index.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/var/www/alakajam/node_modules/jsx-pistols/dist/index.js:23:12)
    at JsxPistols.render (/var/www/alakajam/node_modules/jsx-pistols/dist/index.js:124:16)
    at View.expressEngine [as engine] (/var/www/alakajam/server/core/middleware.ts:87:39)