Renumerate script
This commit is contained in:
@ -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/'
|
||||
|
||||
Reference in New Issue
Block a user