Skip to content

Commit 0d1068a

Browse files
committed
bug fix
1 parent 65e803e commit 0d1068a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ var/
1818
logs/
1919
__pycache__/
2020
.pytest_cache/
21-
token.py
21+
token.py
22+
.pypirc

geocachingapi/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class GeocachingUser:
1616
def update_from_dict(self, data: Dict[str, Any]) -> None:
1717
if "username" in data:
1818
self.username = data["username"]
19-
if "reference" in data:
19+
if "referenceCode" in data:
2020
self.reference_code = data["referenceCode"]
2121
if "findCount" in data:
2222
self.find_count = data["findCount"]

0 commit comments

Comments
 (0)