cuy-cli 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/index.js +2 -0
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -78,6 +78,8 @@ const cuyPost = (data) => {
78
78
 
79
79
  const lastSeen = ({ username }) => {
80
80
  db.query(`select last_seen from users where username='${username}'`, (err, rows) => {
81
+ console.log('error: ', err)
82
+ console.log('rowsss: ', rows)
81
83
  if (!err && rows.length > 0) {
82
84
  last_seen = rows[0].last_seen
83
85
  if (last_seen == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cuy-cli",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Cuyuniverse Command Line Tools",
5
5
  "main": "index.js",
6
6
  "repository": {