From 8c86d8d492953dd972278dda0780f795bc702274 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Mon, 19 Jan 2026 09:53:45 -0600 Subject: [PATCH] fix: correct user_profiles column name in grace-period job (refs #58) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The grace-period job was using 'user_id' to query user_profiles table, but the correct column name is 'auth0_sub'. This would cause the tier sync to fail during grace period auto-downgrade. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/src/features/subscriptions/jobs/grace-period.job.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/features/subscriptions/jobs/grace-period.job.ts b/backend/src/features/subscriptions/jobs/grace-period.job.ts index 8e8553b..cd8117c 100644 --- a/backend/src/features/subscriptions/jobs/grace-period.job.ts +++ b/backend/src/features/subscriptions/jobs/grace-period.job.ts @@ -78,13 +78,13 @@ export async function processGracePeriodExpirations(): Promise