Skip to content

Commit

Permalink
Change route to /registration-status
Browse files Browse the repository at this point in the history
  • Loading branch information
surbhit14 committed Dec 11, 2024
1 parent 68589ef commit 6815077
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion packages/api/src/routes/avs/avsRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ router.get('/:address/rewards', routeCache.cacheSeconds(120), getAVSRewards)

router.get('/:address/events/rewards', routeCache.cacheSeconds(120), getAVSRewardsEvents)

router.get('/:address/events/registration', routeCache.cacheSeconds(120), getAvsRegistrationEvents)
router.get(
'/:address/events/registration-status',
routeCache.cacheSeconds(120),
getAvsRegistrationEvents
)

// Protected routes
router.get('/:address/invalidate-metadata', routeCache.cacheSeconds(120), invalidateMetadata)
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/routes/events/eventsRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ router.get('/deposit', routeCache.cacheSeconds(120), getDepositEvents)

router.get('/withdrawal', routeCache.cacheSeconds(120), getWithdrawalEvents)

router.get('/registration', routeCache.cacheSeconds(120), getRegistrationEvents)
router.get('/registration-status', routeCache.cacheSeconds(120), getRegistrationEvents)

export default router
2 changes: 1 addition & 1 deletion packages/api/src/routes/operators/operatorRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ router.get('/:address/rewards', routeCache.cacheSeconds(120), getOperatorRewards
router.get('/:address/events/delegation', routeCache.cacheSeconds(120), getOperatorDelegationEvents)

router.get(
'/:address/events/registration',
'/:address/events/registration-status',
routeCache.cacheSeconds(120),
getOperatorRegistrationEvents
)
Expand Down

0 comments on commit 6815077

Please sign in to comment.