Drop the unlimited package, new prices, AI quality note
- The unlimited package is gone (easy to resell, e.g. by an astrologer): catalog, fair-use cap, UNLIMITED_DAILY_LIMIT, /v1/me unlimited_until, admin badge. Migration 0014 removes the 'unlimited' entitlements; old orders of it are skipped in the header. - New prices: single 2 000 Ft, couple 4 500, family 8 000, +1 synastry 2 500, +5 persons 1 500 (list prices 2 000 / 2 500 / 300). - Login page, packages page and the analysis offer say the analyses are written by top AI models, close to a professional astrologer's written reading, for a fraction of the price (the packages page names the model). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -14,7 +14,6 @@ use crate::credits::{self, Unit};
|
||||
use crate::error::{ApiError, ApiResult};
|
||||
use crate::packages::{self, CATALOG, Source};
|
||||
use crate::persons;
|
||||
use crate::views::rfc3339;
|
||||
|
||||
/// The package catalog (public).
|
||||
pub async fn catalog() -> Json<Value> {
|
||||
@@ -30,16 +29,14 @@ pub struct MockPayment {
|
||||
unit: Option<Unit>,
|
||||
}
|
||||
|
||||
/// What the user has now: units left, person slots, the unlimited package.
|
||||
/// What the user has now: units left and person slots.
|
||||
pub async fn holdings(state: &crate::AppState, auth: &AuthUser) -> Result<Value, ApiError> {
|
||||
let mut conn = state.db.acquire().await?;
|
||||
let balance = credits::balance(&mut conn, auth.id()).await?;
|
||||
let persons = persons::slots(&mut conn, auth, state.config.free_person_slots).await?;
|
||||
let until = packages::unlimited_until(&mut conn, auth.id()).await?;
|
||||
Ok(json!({
|
||||
"analyses_left": balance.view(),
|
||||
"persons": persons.view(),
|
||||
"unlimited_until": until.map(rfc3339),
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user