Skip to content

Commit

Permalink
fix console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Apr 12, 2024
1 parent 9670175 commit 2ba37e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/core/kinds/app-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class AppConfig extends NDKEvent {

private parseConfig(): ConfigObj {
let json: ConfigObj = defaults
if(this.content.length == 0) return json
try {
json = jsonpack.unpack(this.content)
}
Expand Down

0 comments on commit 2ba37e8

Please sign in to comment.