Improve printful secret hash

This commit is contained in:
Dominic Ferrando
2026-07-18 02:13:04 -04:00
parent 529e011dd2
commit 03ccbbc99b
6 changed files with 27 additions and 12 deletions
+2 -1
View File
@@ -21,8 +21,9 @@ function printError(err: unknown): never {
try {
console.log("Registering printful webhook...");
const printful = new PrintfulClient({
token: env.PRINTFUL_AUTH,
storeId: env.PRINTFUL_STORE_ID,
token: env.PRINTFUL_AUTH,
webhookSecret: env.PRINTFUL_WEBHOOK_SECRET
});
await printful.Webhooks.create(PRINTFUL_WEBHOOK_URL, [