feat: remove redundant userType assignment in abonement service methods
This commit is contained in:
parent
5232fb1f2d
commit
35a841038a
@ -174,7 +174,6 @@ class AbonemmentService {
|
|||||||
snapshot.next_billing_at,
|
snapshot.next_billing_at,
|
||||||
{
|
{
|
||||||
actorUserId: actorUser?.id || null,
|
actorUserId: actorUser?.id || null,
|
||||||
userType: actorUser?.user_type || actorUser?.userType || 'personal',
|
|
||||||
lang: actorUser?.lang || actorUser?.language || 'en'
|
lang: actorUser?.lang || actorUser?.language || 'en'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@ -366,7 +365,6 @@ class AbonemmentService {
|
|||||||
snapshot.next_billing_at,
|
snapshot.next_billing_at,
|
||||||
{
|
{
|
||||||
actorUserId: actorUser?.id || null,
|
actorUserId: actorUser?.id || null,
|
||||||
userType: actorUser?.user_type || actorUser?.userType || 'personal',
|
|
||||||
lang: actorUser?.lang || actorUser?.language || 'en'
|
lang: actorUser?.lang || actorUser?.language || 'en'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@ -521,7 +519,6 @@ class AbonemmentService {
|
|||||||
next,
|
next,
|
||||||
{
|
{
|
||||||
actorUserId: actorUser?.id || null,
|
actorUserId: actorUser?.id || null,
|
||||||
userType: actorUser?.user_type || actorUser?.userType || 'personal',
|
|
||||||
lang: actorUser?.lang || actorUser?.language || 'en'
|
lang: actorUser?.lang || actorUser?.language || 'en'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user