Skip to content

High performance self-hosted photo and video management solution.

322 B
Raw Blame
import { Injectable } from '@nestjs/common';
import { AuthDto } from 'src/dtos/auth.dto.js';
import { BaseService } from 'src/services/base.service.js';

@Injectable()
export class AuthAdminService extends BaseService {
  async unlinkAll(_auth: AuthDto) {
    await this.userRepository.updateAll({ oauthId: null });
  }
}