Skip to content

Commit

Permalink
fix: restore former constructor default w/ make
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Feb 4, 2024
1 parent 4250d1f commit f8a870f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class WorldstateEmitter extends EventEmitter {
#twitter;
#rss;

static async make({ locale = 'en' } = { locale: 'en' }) {
static async make({ locale } = { locale: undefined }) {
const emitter = new WorldstateEmitter({ locale });
await emitter.#init();
return emitter;
Expand Down

0 comments on commit f8a870f

Please sign in to comment.