Skip to content
Snippets Groups Projects
Commit 5cc0208f authored by Mahdi Yari's avatar Mahdi Yari
Browse files

Update extraHandler.js

parent fda30f54
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,7 @@ export const extraHandler = async (res, params, methodParams, callParams, id, li
queryParams.push(params[callKeys[i]])
}
const query = `SELECT * FROM hafsql."${methodParams.name}" WHERE ${queryString}`
console.log(query)
const result = await pool.query(query, queryParams)
res.json({
jsonrpc: '2.0',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment