Fix
This commit is contained in:
parent
0c115fe806
commit
687253bace
2
index.js
2
index.js
@ -348,7 +348,7 @@ SELL: /sell:[number]`,
|
||||
}
|
||||
|
||||
if (text.startsWith('/view_history')) {
|
||||
const dateQuery = text.replace('/view_history:');
|
||||
const dateQuery = text.replace('/view_history:', '');
|
||||
db.query(
|
||||
`SELECT * FROM histories WHERE time like '%${dateQuery}' ORDER BY id asc`,
|
||||
[], (error, results) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user