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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user