🚑 hotfix: update all section that need uuidv7
This commit is contained in:
@ -18,7 +18,6 @@ export const bulkInsertCharWithVAService = async (malId: number) => {
|
||||
for (const charEntry of charactersWithVAData.data) {
|
||||
// Insert character if not exists
|
||||
const characterInsertedId = await bulkInsertCharactersRepository({
|
||||
id: generateUUIDv7(),
|
||||
malId: charEntry.character.mal_id,
|
||||
name: charEntry.character.name,
|
||||
role: charEntry.role,
|
||||
@ -43,7 +42,6 @@ export const bulkInsertCharWithVAService = async (malId: number) => {
|
||||
// Link character with inserted VAs
|
||||
for (const langVA of insertedVAs) {
|
||||
await bulkInsertLangVARepository({
|
||||
id: generateUUIDv7(),
|
||||
language: langVA.lang,
|
||||
vaId: langVA.staffId,
|
||||
charId: characterInsertedId.id,
|
||||
|
||||
@ -7,7 +7,6 @@ import { Person } from "../../types/mediaCharWithVAInfo";
|
||||
export const bulkInsertStaffOrPeopleService = async (peopleData: Person) => {
|
||||
try {
|
||||
return await bulkInsertVoiceActorRepository({
|
||||
id: generateUUIDv7(),
|
||||
malId: peopleData.mal_id,
|
||||
name: peopleData.name,
|
||||
imageUrl: peopleData.images.jpg.image_url,
|
||||
|
||||
Reference in New Issue
Block a user