Skip to content

Commit

Permalink
Merge pull request #16 from docentYT/development
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
docentYT authored Jul 24, 2023
2 parents d0bc7bb + b35c704 commit 576a0ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1]
### Fixed
- `api.notes.create()` created only anonymous notes.

## [1.0.0]
### Added
- `to_xml()` method in `OsmChange`.
Expand Down
2 changes: 1 addition & 1 deletion src/osm_easy_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = "1.0.0"
VERSION = "1.0.1"

from .data_classes import *
from .diff import Diff, Frequency
Expand Down
2 changes: 1 addition & 1 deletion src/osm_easy_api/api/endpoints/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def create(self, latitude: str, longitude: str, text: str) -> Note:
"""
generator = self.outer._post_generator(
url=self.outer._url.note["create"].format(latitude=latitude, longitude=longitude, text=text),
auth_requirement=self.outer._Requirement.NO,
auth_requirement=self.outer._Requirement.OPTIONAL,
auto_status_code_handling=True)

return self._xml_to_note(generator)[0]
Expand Down

0 comments on commit 576a0ba

Please sign in to comment.