{"action":"opened","issue":{"url":"https://api.github.com/repos/pradhanr03/wicki/issues/1","labels_url":"https://api.github.com/repos/pradhanr03/wicki/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pradhanr03/wicki/issues/1/comments","events_url":"https://api.github.com/repos/pradhanr03/wicki/issues/1/events","html_url":"https://github.com/pradhanr03/wicki/issues/1","id":96140687,"number":1,"title":"my login is not working","user":{"login":"pradhanr03","id":12036696,"avatar_url":"https://avatars.githubusercontent.com/u/12036696?v=3","gravatar_id":"","url":"https://api.github.com/users/pradhanr03","html_url":"https://github.com/pradhanr03","followers_url":"https://api.github.com/users/pradhanr03/followers","following_url":"https://api.github.com/users/pradhanr03/following{/other_user}","gists_url":"https://api.github.com/users/pradhanr03/gists{/gist_id}","starred_url":"https://api.github.com/users/pradhanr03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradhanr03/subscriptions","organizations_url":"https://api.github.com/users/pradhanr03/orgs","repos_url":"https://api.github.com/users/pradhanr03/repos","events_url":"https://api.github.com/users/pradhanr03/events{/privacy}","received_events_url":"https://api.github.com/users/pradhanr03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T19:32:31Z","updated_at":"2015-07-20T19:32:31Z","closed_at":null,"body":"So, I keep getting an error on my console and I'm not sure what's causing this error.\r\n\r\nPOST /users 200 315.292 ms - 1461\r\n{ [error: syntax error at or near \"[\"]\r\n  name: 'error',\r\n  length: 83,\r\n  severity: 'ERROR',\r\n  code: '42601',\r\n  detail: undefined,\r\n  hint: undefined,\r\n  position: '35',\r\n  internalPosition: undefined,\r\n  internalQuery: undefined,\r\n  where: undefined,\r\n  schema: undefined,\r\n  table: undefined,\r\n  column: undefined,\r\n  dataType: undefined,\r\n  constraint: undefined,\r\n  file: 'scan.l',\r\n  line: '1053',\r\n  routine: 'scanner_yyerror' }\r\nundefined\r\n/home/rubina/fundamentals/wicki/db.js:39\r\n        console.log(result.rows);\r\n                          ^\r\nTypeError: Cannot read property 'rows' of undefined\r\n    at null.callback (/home/rubina/fundamentals/wicki/db.js:39:27)\r\n    at Query.handleError (/home/rubina/fundamentals/wicki/node_modules/pg/lib/query.js:97:17)\r\n    at null.<anonymous> (/home/rubina/fundamentals/wicki/node_modules/pg/lib/client.js:166:26)\r\n    at emit (events.js:107:17)\r\n    at Socket.<anonymous> (/home/rubina/fundamentals/wicki/node_modules/pg/lib/connection.js:109:12)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\n    at TCP.onread (net.js:538:20)\r\n"}}