@@ -46,7 +46,7 @@ const fetchHistory = async (req, res) => {
|
||||
|
||||
const fetchUserHistory = async (req, res) => {
|
||||
try {
|
||||
const userId = req.user?.client_id || null;
|
||||
const userId = req.user?.userid || null;
|
||||
|
||||
const rows = await clickhouse.query({
|
||||
query: `
|
||||
|
||||
Reference in New Issue
Block a user