Skip to content

Commit

Permalink
fix(status): allow load without config
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe authored and shigma committed Oct 1, 2020
1 parent b70ffb7 commit b4d47e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-status/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const startTime = Date.now()

export const name = 'status'

export function apply(ctx: Context, config: Config) {
export function apply(ctx: Context, config: Config = {}) {
const app = ctx.app
const { refresh = Time.minute } = config

Expand Down

0 comments on commit b4d47e1

Please sign in to comment.