mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 23:06:54 +00:00
comment for myself
This commit is contained in:
1 parent
e0d4eafe17
commit
abee6b98c0
1 file changed
+1
@@ -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