Skip to content

Commit

Permalink
Merge branch 'master' into github_pr_check_workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-fyle authored Sep 19, 2024
2 parents 944755d + f7bedfe commit ec850a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions netsuitesdk/internal/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,13 @@ def searchMoreWithId(self, searchId, pageIndex):
status = result.status
success = status.isSuccess
if success:
result.records = result.recordList.record
return result
if hasattr(result.recordList, 'record'):
result.records = result.recordList.record
return result
else:
# Did not find anything
result.records = None
return result
else:
exc = self._request_error('searchMoreWithId', detail=status['statusDetail'][0])
raise exc
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='netsuitesdk',
version='2.22.0',
version='2.22.1',
author='Siva Narayanan',
author_email='[email protected]',
description='Python SDK for accessing the NetSuite SOAP webservice',
Expand Down

0 comments on commit ec850a7

Please sign in to comment.