mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 04:42:42 +00:00
comment for myself
This commit is contained in:
@@ -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