Skip to content

Commit

Permalink
Add missing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Jan 31, 2024
1 parent 0d87357 commit 90f8d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Resource {
mimetype: this.extractValue(photo, tropy('mimetype')),
path: this.extractValue(photo, tropy('path')),
note: this.extractValue(this.extractValue(photo, tropy('note'))?.[0], tropy('html')),
selection: this.extractValue(photo, tropy('selection')).map((selection) => ({
selection: this.extractValue(photo, tropy('selection'))?.map((selection) => ({
note: this.extractValue(this.extractValue(selection, tropy('note'))?.[0], tropy('html')),
x: this.extractValue(selection, tropy('x')),
y: this.extractValue(selection, tropy('y')),
Expand Down

0 comments on commit 90f8d94

Please sign in to comment.