import { RequestsControllerV2 } from '../../../controllers'


export default function addRoutes(app) {
  app.get('/v2/requests/:followedUserName/revoke', RequestsControllerV2.revokeRequest)
}

import { RequestsControllerV2 } from '../../../controllers'


export default function addRoutes(app) {
  app.post('/v2/requests/:followedUserName/revoke', RequestsControllerV2.revokeRequest)
}

Change revokeRequest method from get to post.
Change revokeRequest method from get to post.
