This commit is contained in:
Damien Ostler 2024-06-08 19:43:26 -04:00
parent 65ddd704f0
commit 5d96002a2e
7 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ function PageComponent() {
const data = await response.json();
setTiers(data);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);

View File

@ -25,7 +25,7 @@ function PageComponent() {
setDescription(data.description);
setColor(data.color);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);

View File

@ -13,7 +13,7 @@ function PageComponent() {
console.log(data)
setUsers(data.users);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);

View File

@ -26,7 +26,7 @@ function PageComponent() {
const data = await response.json();
setTiers(data);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);

View File

@ -33,7 +33,7 @@ function PageComponent() {
const data = await response.json();
setTiers(data);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);
@ -148,7 +148,7 @@ function PageComponent() {
title={galleryName}
subscription={tier}
tags={tags}
subscriptionColor={subscriptionColor}
subscriptionColor={subscriptionColorç}
showNsfw={false}
nsfw={nsfw}
></GalleryThumbnail>

View File

@ -32,7 +32,7 @@ const Galleries = ({ nsfw, tags, search, gallerySelected }: TagProps) => {
const data = await response.json();
setTiers(data);
} else {
console.error('Failed to fetch users');
console.error('failed to fetch tiers');
}
} catch (error) {
console.error('Error fetching users:', error);

View File

@ -6,7 +6,7 @@ export const createClient = () => {
return createServerClient(
process.env.NEXT_PUBLIC_SUPABASE_URL!,
process.env.NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY!,
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
{
cookies: {
get(name: string) {