import { Injectable } from '@nestjs/common';
import { JwtService } from '@nestjs/jwt';
import { AdminAuthorService } from '../../services/implements/user-author.service';
import { AuthorMiddleware } from '../author.middleware';
import { User } from '@/entities/user.entity';

@Injectable()
export class AdminAuthorMiddleware extends AuthorMiddleware<User> {
  constructor(
    readonly jwtService: JwtService,
    readonly service: AdminAuthorService,
  ) {
    super(jwtService, service);
  }
}
