mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-30 22:31:03 +00:00
refactor: Update function names in repack tracker to use 'savePage' instead of 'saveRepacks'
This commit is contained in:
@@ -5,7 +5,7 @@ import { repackRepository } from "@main/repository";
|
||||
|
||||
import { QueryDeepPartialEntity } from "typeorm/query-builder/QueryPartialEntity";
|
||||
|
||||
export const saveRepacks = async (repacks: QueryDeepPartialEntity<Repack>[]) =>
|
||||
export const savePage = async (repacks: QueryDeepPartialEntity<Repack>[]) =>
|
||||
Promise.all(
|
||||
repacks.map((repack) => repackRepository.insert(repack).catch(() => {}))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user