Sync layouts, typography, and watermark studio for self-hosted OSS.
Unlock features without credits/Stripe, point docs to docs.songs2vid.com, and drop leftover billing admin surfaces. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ export async function requirePaidApiUser(req: NextRequest) {
|
||||
if (!hasProFeatures(user.plan)) {
|
||||
return {
|
||||
error: NextResponse.json(
|
||||
{ error: "API access requires an active Pro subscription" },
|
||||
{ error: "API access is unavailable for this account" },
|
||||
{ status: 403 },
|
||||
),
|
||||
user: null,
|
||||
@@ -87,7 +87,7 @@ export async function requirePaidUserFromSessionOrApi(req: NextRequest) {
|
||||
if (!hasProFeatures(sessionUser.plan)) {
|
||||
return {
|
||||
error: NextResponse.json(
|
||||
{ error: "API access requires an active Pro subscription" },
|
||||
{ error: "API access is unavailable for this account" },
|
||||
{ status: 403 },
|
||||
),
|
||||
user: null,
|
||||
|
||||
Reference in New Issue
Block a user