Skip to content

Commit aab1403

Browse files
authored
Merge pull request #3399 from wmarshall/bug/3398-parseSearch-typo
Fix parseSearch typo
2 parents 9ec121d + 1d9e71f commit aab1403

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import System from "core/system"
44
import win from "core/window"
55
import ApisPreset from "core/presets/apis"
66
import * as AllPlugins from "core/plugins/all"
7-
import { parseSeach, filterConfigs } from "core/utils"
7+
import { parseSearch, filterConfigs } from "core/utils"
88

99
const CONFIGS = [
1010
"url",
@@ -83,7 +83,7 @@ module.exports = function SwaggerUI(opts) {
8383
store: { },
8484
}
8585

86-
let queryConfig = parseSeach()
86+
let queryConfig = parseSearch()
8787

8888
const constructorConfig = deepExtend({}, defaults, opts, queryConfig)
8989

src/core/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ export const getSampleSchema = (schema, contentType="", config={}) => {
546546
return JSON.stringify(memoizedSampleFromSchema(schema, config), null, 2)
547547
}
548548

549-
export const parseSeach = () => {
549+
export const parseSearch = () => {
550550
let map = {}
551551
let search = window.location.search
552552

0 commit comments

Comments
 (0)