Firebase Update
This commit is contained in:
@ -3,7 +3,7 @@ const { query, nonQuery } = require("../db-config/postgresql-common");
|
||||
//SELECT own shopping lists
|
||||
async function getShoppinglistsAdmin(username) {
|
||||
try {
|
||||
|
||||
|
||||
let result = await query('SELECT row_to_json("Shoppinglist") AS obj FROM "Shoppinglist" JOIN "Shoppinglist_admin" USING (sl_id) WHERE \
|
||||
username = $1', [username]);
|
||||
|
||||
|
Reference in New Issue
Block a user