committed by
Vladimír Gorej
parent
1ce9ce0cda
commit
2ce9d08af7
@@ -103,7 +103,7 @@ export const selectDefaultRequestBodyValue =
|
||||
}
|
||||
|
||||
export const hasUserEditedBody = onlyOAS3((state, path, method) => (system) => {
|
||||
const { oas3Selectors, specSelectors } = system
|
||||
const { oas3Selectors, specSelectors, fn } = system
|
||||
|
||||
let userHasEditedBody = false
|
||||
const currentMediaType = oas3Selectors.requestContentType(path, method)
|
||||
@@ -147,7 +147,8 @@ export const hasUserEditedBody = onlyOAS3((state, path, method) => (system) => {
|
||||
method,
|
||||
"requestBody",
|
||||
"requestBody"
|
||||
)
|
||||
),
|
||||
fn
|
||||
)
|
||||
userHasEditedBody =
|
||||
!!userEditedRequestBody &&
|
||||
|
||||
Reference in New Issue
Block a user