Skip to content

Commit

Permalink
fix: use native type
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Feb 13, 2025
1 parent c3c104f commit 587ce22
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
TargetedSafe as DomainTargetedSafe,
TargetedSafeSchema,
} from '@/domain/targeted-messaging/entities/targeted-safe.entity';
import { TargetedSafeSchema } from '@/domain/targeted-messaging/entities/targeted-safe.entity';
import { TargetedSafeNotFoundError } from '@/domain/targeted-messaging/errors/targeted-safe-not-found.error';
import {
CreateSubmissionDto,
Expand Down Expand Up @@ -49,7 +46,7 @@ export class TargetedMessagingController {
ParseIntPipe,
new ValidationPipe(TargetedSafeSchema.shape.outreachId),
)
outreachId: TargetedSafe['outreachId'],
outreachId: number,
@Param('chainId', new ValidationPipe(NumericStringSchema)) chainId: string,
@Param('safeAddress', new ValidationPipe(AddressSchema))
safeAddress: `0x${string}`,
Expand Down

0 comments on commit 587ce22

Please sign in to comment.