Skip to content

Commit

Permalink
0.6.1 - Fix reference error in NetSuite.get
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Apr 25, 2021
1 parent 97e0e33 commit 2299aae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ 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).

## [[Unreleased]
## [Unreleased]

- Nothing

## [[0.6.0](https://github.com/jmagnusson/netsuite/compare/v0.5.3...v0.6.0) - 2021-04-25
## [0.6.1](https://github.com/jmagnusson/netsuite/compare/v0.6.0...v0.6.1) - 2021-04-25

### Fixed
- Fix "local variable 'record_ref' referenced before assignment" error in `NetSuite.get` method - Thanks @VeNoMouS! (#25)

## [0.6.0] - 2021-04-25

### Fixed
- Release 2021.1 wouldn't accept non-GET requests to the REST API without body being part of the signing. Thanks to @mmangione for the PR! (#26)
Expand Down
2 changes: 1 addition & 1 deletion netsuite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def get(
internalId=internalId,
)
else:
self.Core.RecordRef(
record_ref = self.Core.RecordRef(
type=recordType,
externalId=externalId,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netsuite"
version = "0.6.0"
version = "0.6.1"
description = "Wrapper around Netsuite SuiteTalk SOAP/REST Web Services and Restlets."
authors = ["Jacob Magnusson <m@jacobian.se>"]
license = "MIT"
Expand Down

0 comments on commit 2299aae

Please sign in to comment.