Skip to content

Commit

Permalink
πŸ› Fix invalid classData fetch syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Mar 11, 2025
1 parent 04f040c commit ad4b086
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,12 @@ onMounted(async () => {
try {
isLoading.value = true
const classRes = await $fetch(`${LIKE_CO_API}/likernft/book/store/${classId.value}`, {
const classResData: any = await $fetch(`${LIKE_CO_API}/likernft/book/store/${classId.value}`, {
headers: {
authorization: `Bearer ${token.value}`
}
})
const classResData: any = classRes?.data?.value
if (classResData) {
shippingRates.value = classResData?.shippingRates || []
if (classResData?.ownerWallet !== wallet.value) {
Expand Down

0 comments on commit ad4b086

Please sign in to comment.