ds4/src/module/hooks/ready.ts

12 lines
253 B
TypeScript
Raw Normal View History

2021-06-26 22:02:00 +02:00
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
2021-03-16 08:22:27 +01:00
import { migration } from "../migrations";
export default function registerForReadyHook(): void {
Hooks.once("ready", () => {
migration.migrate();
});
}