repository-provider 31.1.0 → 31.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "31.1.0",
3
+ "version": "31.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -169,7 +169,8 @@ export class BaseObject {
169
169
  * @return {string} url
170
170
  */
171
171
  get api() {
172
- return this.owner.api;
172
+ // TODO move into owner-object
173
+ return this.owner && this.owner.api;
173
174
  }
174
175
 
175
176
  /**