HSB-450 feature: user last active on (#4121)

* feat: userLastActiveOnInterceptor added and update func added in userService

* chore: changed user model parameter description

* chore: commented out docker volume for hopp-old-service

* chore: changed backend to work with secure cookies

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
This commit is contained in:
Mir Arif Hasan
2024-06-21 13:10:21 +06:00
committed by GitHub
parent cfb77f2bfe
commit c2085b8b6f
8 changed files with 100 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ import { PosthogModule } from './posthog/posthog.module';
import { ScheduleModule } from '@nestjs/schedule';
import { HealthModule } from './health/health.module';
import { AccessTokenModule } from './access-token/access-token.module';
import { UserLastActiveOnInterceptor } from './interceptors/user-last-active-on.interceptor';
@Module({
imports: [
@@ -105,7 +106,10 @@ import { AccessTokenModule } from './access-token/access-token.module';
HealthModule,
AccessTokenModule,
],
providers: [GQLComplexityPlugin],
providers: [
GQLComplexityPlugin,
{ provide: 'APP_INTERCEPTOR', useClass: UserLastActiveOnInterceptor },
],
controllers: [AppController],
})
export class AppModule {}