Skip to content

Commit

Permalink
fixed optional values not displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
hitblast committed Jun 14, 2023
1 parent b9ea225 commit 6406336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimippkg/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ proc retrieveData(self: IPRef, key: string): JsonNode =
if not self.resp.isSome:
raise NotInitializedError.newException("Initialize the IP information with IPRef.refreshData() first.")
else:
return self.resp.get()[key]
return self.resp.get(){key}


#[
Expand Down

0 comments on commit 6406336

Please sign in to comment.