fix: remove google sheets

This commit is contained in:
max_richter 2025-01-26 19:25:26 +01:00
parent c21ae20e4d
commit a73a1264f0

View File

@ -1,7 +1,9 @@
import Pocketbase from "pocketbase" import Pocketbase from "pocketbase"
import { POCKETBASE_URL } from "$env/static/private" import { POCKETBASE_URL } from "$env/static/private"
const url = POCKETBASE_URL || "http://localhost:8090";
const pb = new Pocketbase(POCKETBASE_URL || "http://localhost:8090"); const pb = new Pocketbase(url);
console.log(`[PB] Connected to ${url}`)
export async function getPublicPortraits() { export async function getPublicPortraits() {
return (await pb.collection("invites").getList(1, 100, { return (await pb.collection("invites").getList(1, 100, {