Renumerate script

This commit is contained in:
mcarquigny
2025-06-27 15:49:04 +02:00
parent a7225eb054
commit 9fe860b526
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ const pb = new PocketBase('http://127.0.0.1:8090')
async function main () {
try {
// Authenticate as an admin
await pb.admins.authWithPassword('karkinge@gmail.com', 'PBk4rk1ng3*') // Replace with your admin credentials
await pb.admins.authWithPassword('karkinge@gmail.com', 'XXXXXXX') // Replace with your admin credentials
// Parse JSON file with categories
const filesPath = '../gyoza/storage/'