variable clean up

This commit is contained in:
Polaris
2024-07-28 01:16:27 -04:00
parent e113bad219
commit d01a88a645
5 changed files with 42 additions and 41 deletions

View File

@ -14,7 +14,7 @@ export async function getCurrentAvatarParts() {
throw new Error("User is not authenticated or accessCode is missing");
}
const avatarParts = await artemis.chuni_profile_data.findMany({
const CurrentAvatarParts = await artemis.chuni_profile_data.findMany({
where: {
user: user.UserId,
},
@ -28,7 +28,7 @@ export async function getCurrentAvatarParts() {
avatarWear: true,
},
});
return avatarParts;
return CurrentAvatarParts;
}
export async function getAllAvatarParts(category: number) {
@ -38,7 +38,7 @@ export async function getAllAvatarParts(category: number) {
throw new Error("User is not authenticated or accessCode is missing");
}
const avatarParts = await artemis.chuni_static_avatar.findMany({
const AllAvatarParts = await artemis.chuni_static_avatar.findMany({
where: {
category: category,
},
@ -52,5 +52,5 @@ export async function getAllAvatarParts(category: number) {
texturePath: true,
},
});
return avatarParts;
return AllAvatarParts;
}