I think this entire callback be simplified to something like this:

```js
if (err) {
    return callback('db_error');
}
var respData = resp ? JSON.parse(resp) : [];
respData.push(data.id);
client.hset('gameIDsByUserID', userID, JSON.stringify(respData));
callback(null, data);
```