basic job file function

This commit is contained in:
2026-03-09 09:44:12 -05:00
parent 8dfd0c8274
commit 1c8e8b1d54
3 changed files with 240 additions and 79 deletions
+15
View File
@@ -0,0 +1,15 @@
import PocketBase from 'pocketbase';
const pb = new PocketBase('https://pocketbase.ccllc.pro');
async function check() {
try {
await pb.admins.authWithPassword("timothy@ccllc.pro", 'pass');
const res = await pb.collection('Job_Info_Prod').getList(1, 1);
console.log("Got item:", res.items[0]);
} catch (e) {
console.error("Auth / Fetch Error", e);
}
}
check();