ds4/src/module/hooks/ready.ts

11 lines
253 B
TypeScript

// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
import { migration } from "../migrations";
export default function registerForReadyHook(): void {
Hooks.once("ready", () => {
migration.migrate();
});
}