Skip to content

Commit 974098a

Browse files
authored
Merge pull request #563 from oneblink/ON-47634
ON-47634 # Fixed Forms.getForm() using legacy endpoint
2 parents 96752fa + 18e7f46 commit 974098a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `Forms.getForm()` using legacy endpoint.
13+
1014
## [11.0.0] - 2025-03-11
1115

1216
### Added

src/classes/Forms.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ export default class Forms extends OneBlinkAPI {
875875
return Promise.reject(new TypeError('Must supply "formId" as a number'))
876876
}
877877

878-
return super.searchRequest(`/forms/${formId}`, {
878+
return super.searchRequest(`/v2/forms/${formId}`, {
879879
injectForms: injectForms || false,
880880
})
881881
}

0 commit comments

Comments
 (0)