Skip to content

Commit

Permalink
Release v0.2.11 - See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Nov 9, 2021
1 parent 6c022a1 commit 253443c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.11 (November 8th, 2021)

- added check condition for object meta

## 0.2.10 (November 8th, 2021)

- rename sourcePath to sourceObject for move rpc
Expand Down
4 changes: 2 additions & 2 deletions 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,6 +1,6 @@
{
"name": "@restorecommerce/ostorage-srv",
"version": "0.2.10",
"version": "0.2.11",
"description": "Restorecommerce microservice for storing objects",
"main": "lib/start.js",
"author": "n-fuse GmbH",
Expand Down
2 changes: 1 addition & 1 deletion src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export class Service {
// then its considred a match for further filtering based on filter field if it exists
let match = false;
let ownerInst;
if (objectMeta.owner) {
if (objectMeta && objectMeta.owner) {
for (let idVal of objectMeta.owner) {
if (idVal.id === ownerIndictaorEntURN && idVal.value === ownerIndicatorEntity) {
match = true;
Expand Down

0 comments on commit 253443c

Please sign in to comment.