mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 07:56:57 +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 {
|
try {
|
||||||
const brews = await HomebrewModel.getByUser(username, true, ['authors']);
|
const brews = await HomebrewModel.getByUser(username, true, ['authors']);
|
||||||
|
//get the relevant fields, not just author you moron!
|
||||||
console.log(brews);
|
console.log(brews);
|
||||||
|
|
||||||
for (let brew of brews) {
|
for (let brew of brews) {
|
||||||
|
|||||||
Reference in new issue
Block a user