added barebones avatar part selector

This commit is contained in:
Polaris
2024-07-23 14:35:30 -04:00
parent 82955d3ebb
commit 3420bad643
3 changed files with 444 additions and 10 deletions

View File

@ -181,7 +181,7 @@ export async function getAllAimeCards() {
}
export async function getAvatarPart() {
export async function getAllAvatarParts() {
const { user } = await getAuth();
if (!user || !user.accessCode) {
@ -193,6 +193,7 @@ export async function getAvatarPart() {
category: 1
},
select: {
id: true,
name: true,
avatarAccessoryId: true,
category: true,