website refactor
This commit is contained in:
@@ -21,7 +21,7 @@ export type GetSponsorErrorCode = 'SPONSOR_NOT_FOUND' | 'REPOSITORY_ERROR';
|
||||
|
||||
export class GetSponsorUseCase {
|
||||
constructor(
|
||||
private readonly sponsorRepository: ISponsorRepository,
|
||||
private readonly sponsorRepository: SponsorRepository,
|
||||
) {}
|
||||
|
||||
async execute(input: GetSponsorInput): Promise<Result<GetSponsorResult, ApplicationErrorCode<GetSponsorErrorCode, { message: string }>>> {
|
||||
|
||||
Reference in New Issue
Block a user