From 1e2d76885fa5ea16db5be903c49e286385a14d27 Mon Sep 17 00:00:00 2001 From: David Bolack Date: Sat, 27 Jun 2026 16:08:07 -0500 Subject: [PATCH] Missed references fixed --- server/homebrew.api.js | 4 ++-- server/homebrew.api.spec.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 3bab31c8a..026ff2eda 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -224,8 +224,8 @@ const api = { metadata.bleed = { top : brew?.bleed?.top || '.125in', bottom : brew?.bleed?.bottom || '.125in', - left : brew?.bleed?.left || '.125in', - right : brew?.bleed?.right || '.125in', + inner : brew?.bleed?.inner || '.125in', + outer : brew?.bleed?.outer || '.125in', }; // Copy Required Safe Space or Use defaults diff --git a/server/homebrew.api.spec.js b/server/homebrew.api.spec.js index 60f32c940..02ebbf0c2 100644 --- a/server/homebrew.api.spec.js +++ b/server/homebrew.api.spec.js @@ -404,8 +404,8 @@ theme: phb bleed: top: .125in bottom: .125in - left: .125in - right: .125in + outer: .125in + inner: .125in safetySpace: top: .25in bottom: .25in @@ -447,8 +447,8 @@ theme: phb bleed: top: .125in bottom: .125in - left: .125in - right: .125in + outer: .125in + inner: .125in safetySpace: top: .25in bottom: .25in @@ -1140,8 +1140,8 @@ brew`); 'bleed:\n' + ' top: 1.5in\n' + ' bottom: 1.5in\n' + - ' left: 1.5in\n' + - ' right: 1.5in\n' + + ' outer: 1.5in\n' + + ' inner: 1.5in\n' + 'safetySpace:\n' + ' top: 1.25in\n' + ' bottom: 1.25in\n' + @@ -1177,8 +1177,8 @@ brew`); // Paper Specfications expect(testBrew.bleed.top).toEqual('1.5in'); expect(testBrew.bleed.bottom).toEqual('1.5in'); - expect(testBrew.bleed.left).toEqual('1.5in'); - expect(testBrew.bleed.right).toEqual('1.5in'); + expect(testBrew.bleed.inner).toEqual('1.5in'); + expect(testBrew.bleed.outer).toEqual('1.5in'); expect(testBrew.safetySpace.top).toEqual('1.25in'); expect(testBrew.safetySpace.bottom).toEqual('1.25in');