Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
MirrorCY authored Feb 8, 2024
1 parent 2846775 commit 57ad65d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export function apply(ctx: Context, config: Config) {
let previous = await getMarket()

ctx.command('market [name]')
.option('receive', '-r 订阅插件市场更新', { authority: 3, value: true })
.option('receive', '-R 取消订阅', { authority: 3, value: false })
.option('receive', '-r', { authority: 3, value: true })
.option('receive', '-R', { authority: 3, value: false })
.action(async ({ session, options }, name) => {
if (typeof options.receive === 'boolean') {
const index = config.rules.findIndex(receiver => {
Expand Down

0 comments on commit 57ad65d

Please sign in to comment.