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

Update extraHandler.js

parent 8040cb29
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ export const extraHandler = async (res, params, methodParams, callParams, id, li
// }
if (raw) {
const query = `SELECT * FROM hafsql."${methodParams.name}" LIMIT $1`
console.log(query)
const result = await pool.query(query, [limit])
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