Skip to content

fix: persist older api keys and prevent missing values#554

Merged
jcabrero merged 1 commit intomainfrom
fix/migrations-corrections
Mar 20, 2026
Merged

fix: persist older api keys and prevent missing values#554
jcabrero merged 1 commit intomainfrom
fix/migrations-corrections

Conversation

@jcabrero
Copy link
Copy Markdown
Member

This is a modification to the migrations of nilcc-api that prevents losing the old api keys of users when doing the migrations. It also fixes other potential migrations issues that could arise such as empty values or 0 balannce.

@jcabrero jcabrero force-pushed the fix/migrations-corrections branch from 47d5a9c to 29aaba0 Compare March 20, 2026 15:37
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 20, 2026

Coverage Report for nilcc-api

Status Category Percentage Covered / Total
🔵 Lines 80.98% 5065 / 6254
🔵 Statements 80.98% 5065 / 6254
🔵 Functions 83.72% 252 / 301
🔵 Branches 84.66% 508 / 600
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
nilcc-api/migrations/1774000000000-UsdBasedPricing.ts 56% 100% 50% 56% 58-96
nilcc-api/src/data-source.ts 85.88% 85% 72.72% 85.88% 111-112, 124-125, 168-169, 176-186, 189-194
Generated in workflow #200 for commit 78b2807 by the Vitest Coverage Report Action

@jcabrero jcabrero force-pushed the fix/migrations-corrections branch from 0529af6 to 78b2807 Compare March 20, 2026 16:07
@jcabrero jcabrero requested a review from psofiterol March 20, 2026 16:11
@jcabrero jcabrero merged commit 9f5463e into main Mar 20, 2026
3 checks passed
@jcabrero jcabrero deleted the fix/migrations-corrections branch March 20, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants