mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-24 12:29:30 -05:00
* Initial * Progress * Fix * Progress * Notifications list page * BADGE_MANAGER_ADDED * Mark as seen initial * Split tables * Progress * Fix styles * Push notifs initial * Progress * Rename * Routines * Progress * Add e2e tests * Done? * Try updating actions * Consistency * Dep fix * A couple fixes
12 lines
403 B
TypeScript
12 lines
403 B
TypeScript
import * as QRepository from "~/features/sendouq/QRepository.server";
|
|
import { logger } from "../utils/logger";
|
|
import { Routine } from "./routine.server";
|
|
|
|
export const SetOldGroupsAsInactiveRoutine = new Routine({
|
|
name: "SetOldGroupsAsInactive",
|
|
func: async () => {
|
|
const { numUpdatedRows } = await QRepository.setOldGroupsAsInactive();
|
|
logger.info(`Set ${numUpdatedRows} as inactive`);
|
|
},
|
|
});
|