Skip to content

Commit

Permalink
js: fixed upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
tflanagan committed Nov 26, 2019
1 parent 25bd9f2 commit 6385c09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion QBTable.browserify.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions QBTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* Versioning */
const VERSION_MAJOR = 2;
const VERSION_MINOR = 1;
const VERSION_PATCH = 12;
const VERSION_PATCH = 13;

/* Dependencies */
const merge = require('lodash.merge');
Expand Down Expand Up @@ -732,7 +732,7 @@ class QBTable {
const fids = isRecord ? options.getFids() : options;

Object.keys(fids).filter((fidName) => {
return typeof(fids[fidName]) !== 'object';
return !isRecord || typeof(fids[fidName]) !== 'object';
}).forEach((name) => {
let value = record.get(name);

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "qb-table",
"private": false,
"version": "2.1.12",
"version": "2.1.13",
"description": "A lightweight abstraction layer for QuickBase",
"keywords": [
"QuickBase",
Expand Down

0 comments on commit 6385c09

Please sign in to comment.