Skip to content

Commit

Permalink
alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Apr 9, 2024
1 parent 1404359 commit d68a526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node_modules/pouchdb-adapter-indexeddb/src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ function processAttachment(name, src, doc, isBinary, attachmentFormat) {
function rawIndexFields(ddoc, viewName) {
// fields are an array of either the string name of the field, or a key value
const fields = ddoc.views[viewName].options &&
ddoc.views[viewName].options.def &&
ddoc.views[viewName].options.def.fields || [];
ddoc.views[viewName].options.def &&
ddoc.views[viewName].options.def.fields || [];

// Either ['foo'] or [{'foo': 'desc'}]
return fields.map(function (field) {
Expand Down

0 comments on commit d68a526

Please sign in to comment.