Skip to content

Commit c0f9689

Browse files
committed
fix create project
1 parent 8aec9d3 commit c0f9689

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,8 @@ async function createProject (currentUser, data) {
19251925
context: 'createProject',
19261926
message: `response body: ${JSON.stringify(res)}`
19271927
})
1928-
return _.get(res, 'body')
1928+
const result = _.get(res, 'body')
1929+
return _.extend(result, { name: _.unescape(_.get(result, 'name')) })
19291930
}
19301931

19311932
/**

0 commit comments

Comments
 (0)