Skip to content

Commit a633163

Browse files
committed
rename renderingSpeed default value from 'balanced' to 'default'
1 parent 341cfc2 commit a633163

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/composables/node/useNodePricing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
201201
} else {
202202
basePrice = 0.09
203203
}
204-
} else if (renderingSpeed.toLowerCase().includes('balanced')) {
204+
} else if (renderingSpeed.toLowerCase().includes('default')) {
205205
if (hasCharacter) {
206206
basePrice = 0.15
207207
} else {

tests-ui/tests/composables/node/useNodePricing.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,12 @@ describe('useNodePricing', () => {
409409
expected: '$0.20/Run'
410410
},
411411
{
412-
rendering_speed: 'Balanced',
412+
rendering_speed: 'Default',
413413
character_image: false,
414414
expected: '$0.06/Run'
415415
},
416416
{
417-
rendering_speed: 'Balanced',
417+
rendering_speed: 'Default',
418418
character_image: true,
419419
expected: '$0.15/Run'
420420
},

0 commit comments

Comments
 (0)