Refactor billing schema creation logic

Updated logic in createBillingSchema function in the create-billing-schema.ts file for clarity and efficiency. Adjusted line item schema refinement rules and implemented changes in plan types parsing. Removed unnecessary console logs and added a console log to output the parsed config.
This commit is contained in:
giancarlo
2024-03-27 21:22:49 +08:00
parent c3a4a05b22
commit 500fea4bf8
2 changed files with 17 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ export default withBundleAnalyzer({
function getRemotePatterns() {
/** @type {import('next').NextConfig['remotePatterns']} */
// add here the remote patterns for your images
// add here the remote patterns for your images
const remotePatterns = [];
if (SUPABASE_URL) {