File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1301,9 +1301,18 @@ export class JobsController {
13011301 const userOrgId =
13021302 await this . userService . findOrgIdByMemberUserWallet ( address ) ;
13031303 if ( userOrgId ) {
1304+ this . logger . log (
1305+ `User org id ${ userOrgId } found, checking subscription` ,
1306+ ) ;
13041307 const subscription = data (
13051308 await this . subscriptionService . getSubscriptionInfoByOrgId ( userOrgId ) ,
13061309 ) ;
1310+ this . logger . log ( `Subscription data: ${ JSON . stringify ( subscription ) } ` ) ;
1311+
1312+ this . logger . log (
1313+ `Checking job promotion access: ${ subscription ?. canAccessService ( "jobPromotions" ) } ` ,
1314+ ) ;
1315+
13071316 if ( subscription ?. canAccessService ( "jobPromotions" ) ) {
13081317 await this . jobsService . handleJobPromotion ( uuid ) ;
13091318 await this . subscriptionService . recordMeteredServiceUsage (
You can’t perform that action at this time.
0 commit comments