Skip to content

Commit

Permalink
Merge pull request #23 from map3xyz/tsv
Browse files Browse the repository at this point in the history
Tsv
  • Loading branch information
pellicceama authored Aug 12, 2022
2 parents 17e363e + c306e04 commit b553443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@map3xyz/assets-helper",
"version": "1.0.119",
"version": "1.0.120",
"description": "A library for maintaining the assets repo.",
"author": "pellicceama",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/model/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class Network extends RepoObject {
constructor(info: Partial<Network>) {
super(info);

if(!this.name || toHyphenCase(this.name) !== info.id) {
if(!this.name || toHyphenCase(this.name) !== info.networkId) {
throw new Error('Network requires a name that is the hyphencase version of the id');
}

Expand Down

0 comments on commit b553443

Please sign in to comment.