S5: onboarding → minne + smaksignaler (user_stated)
This commit is contained in:
@@ -276,6 +276,7 @@ export async function recommendationRoutes(app: FastifyInstance) {
|
||||
id: schema.tasteSignals.id,
|
||||
userId: schema.tasteSignals.userId,
|
||||
axis: schema.tasteSignals.axis,
|
||||
target: schema.tasteSignals.target,
|
||||
direction: schema.tasteSignals.direction,
|
||||
strength: schema.tasteSignals.strength,
|
||||
origin: schema.tasteSignals.origin,
|
||||
@@ -286,6 +287,7 @@ export async function recommendationRoutes(app: FastifyInstance) {
|
||||
.where(eq(schema.tasteSignals.userId, req.userId));
|
||||
tasteSignals = tasteRows.map((t) => ({
|
||||
...t,
|
||||
target: t.target ?? undefined,
|
||||
refRecipeId: t.refRecipeId ?? undefined,
|
||||
createdAt: t.createdAt.toISOString(),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user