diff --git a/backend/services/falukantService.js b/backend/services/falukantService.js index 69829ce..5547926 100644 --- a/backend/services/falukantService.js +++ b/backend/services/falukantService.js @@ -3876,7 +3876,7 @@ class FalukantService extends BaseService { throw { status: 400, message: 'relationshipId is required' }; } - const { state } = await this.getOwnedLoverRelationState(hashedUserId, parsedRelationshipId); + const { user, state } = await this.getOwnedLoverRelationState(hashedUserId, parsedRelationshipId); const updateData = { acknowledged: true }; if (state.loverRole === 'secret_affair' || !state.loverRole) { updateData.loverRole = 'lover'; @@ -3897,7 +3897,7 @@ class FalukantService extends BaseService { throw { status: 400, message: 'relationshipId is required' }; } - const { state } = await this.getOwnedLoverRelationState(hashedUserId, parsedRelationshipId); + const { user, state } = await this.getOwnedLoverRelationState(hashedUserId, parsedRelationshipId); await state.update({ active: false, acknowledged: false diff --git a/frontend/src/components/falukant/DirectorInfo.vue b/frontend/src/components/falukant/DirectorInfo.vue index 8c74712..b0703f0 100644 --- a/frontend/src/components/falukant/DirectorInfo.vue +++ b/frontend/src/components/falukant/DirectorInfo.vue @@ -178,7 +178,7 @@ - +