Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
fix(api): unknown typos
Browse files Browse the repository at this point in the history
  • Loading branch information
beetcb committed Feb 28, 2021
1 parent 2641313 commit 8cf17d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class User {
name: 'selection',
message: '请选择删除对象:',
choices: [
...get('users').map((e, idx) => ({
...conf.get('users').map((e, idx) => ({
value: idx,
name: `${e.alias || e.user.name}`,
})),
Expand Down Expand Up @@ -194,7 +194,7 @@ class School {
]

let res = await prompt(questions)
const school = await this.schoolApi(res.id)
const school = await this.schoolApi(res.ids)

school.addr = await this.schoolAddr(school.name)
conf.set('school', school)
Expand Down

0 comments on commit 8cf17d8

Please sign in to comment.