0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 20:03:02 +00:00

comment for myself

This commit is contained in:
Víctor Losada Hernández
2025-01-11 23:46:15 +01:00
parent e0d4eafe17
commit abee6b98c0

View File

@@ -386,6 +386,7 @@ app.delete('/api/user/delete', async (req, res) => {
try {
const brews = await HomebrewModel.getByUser(username, true, ['authors']);
//get the relevant fields, not just author you moron!
console.log(brews);
for (let brew of brews) {