Skip to content

Commit eebd2e2

Browse files
committed
fix: missing users in /api/subscriptions
1 parent 6815835 commit eebd2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/subscription/subscription.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ export class SubscriptionService {
387387
params: IGetSubscriptionInfo,
388388
): Promise<TResult<SubscriptionRawResponse>> {
389389
try {
390-
const { searchBy, authenticated } = params;
390+
const { searchBy, authenticated, userEntity: userEntityParam } = params;
391391

392-
let userEntity: UserEntity | undefined;
392+
let userEntity: UserEntity | undefined = userEntityParam;
393393

394394
if (!userEntity && searchBy) {
395395
const userResult = await this.queryBus.execute(

0 commit comments

Comments
 (0)