This commit is contained in:
parent
7a1dd8fa56
commit
6740e71590
@ -3,7 +3,7 @@ const conn = require('../../../database/db');
|
|||||||
|
|
||||||
console.error("--------------------- portista.js ---------------------");
|
console.error("--------------------- portista.js ---------------------");
|
||||||
async function getChoicesFromDatabase() {
|
async function getChoicesFromDatabase() {
|
||||||
const query = `SELECT name, value FROM products`;
|
const query = `SELECT name, value FROM choices`;
|
||||||
let rows;
|
let rows;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Loading…
x
Reference in New Issue
Block a user