linting
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Creates a new sponsor.
|
||||
*/
|
||||
|
||||
import { Sponsor, type SponsorProps } from '../../domain/entities/Sponsor';
|
||||
|
||||
import type { ISponsorRepository } from '../../domain/repositories/ISponsorRepository';
|
||||
import type {
|
||||
ICreateSponsorPresenter,
|
||||
@@ -41,7 +41,7 @@ export class CreateSponsorUseCase
|
||||
contactEmail: input.contactEmail,
|
||||
...(input.websiteUrl !== undefined ? { websiteUrl: input.websiteUrl } : {}),
|
||||
...(input.logoUrl !== undefined ? { logoUrl: input.logoUrl } : {}),
|
||||
} as any);
|
||||
} as unknown);
|
||||
|
||||
await this.sponsorRepository.create(sponsor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user