Navigation Menu

Skip to content

Commit

Permalink
Failed to convert to grn dump record
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 13, 2012
1 parent 6478874 commit 700083e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database/domain.js
Expand Up @@ -361,7 +361,7 @@ Domain.prototype = {
toGrnDumpRecord: function(record) {
var grnDumpRecord = {};
Object.keys(record).forEach(function(key) {
var grnDumpKey = key == '_key' ? 'id' : key ;
var grnDumpKey = key == 'id' ? '_key' : key ;
grnDumpRecord[grnDumpKey] = record[key];
});
return grnDumpRecord;
Expand Down

0 comments on commit 700083e

Please sign in to comment.