Skip to content

Commit

Permalink
basePath -> basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
follow-my-heart committed Jul 16, 2019
1 parent aa45aaa commit 87d8ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions importController.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class importController extends baseController {
}
// 获取项目信息
const projectData = await this.projectModel.get(projectId);
const { basePath, uid } = projectData;
const { basepath, uid } = projectData;
// 获取swaggerJSON
const swaggerData = await this.getSwaggerData(swaggerUrl, ctx);

Expand All @@ -77,7 +77,7 @@ class importController extends baseController {
projectId,
'',
cat,
basePath,
basepath,
importType === 'add' ? 'normal' : 'merge',
err => {
errorMessage.push(err);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"key": "yapi-plugin",
"name": "yapi-plugin-import-swagger-customize",
"version": "2.0.3",
"version": "2.0.4",
"description": "yapi自定义导入插件",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit 87d8ef9

Please sign in to comment.