@@ -13,7 +13,7 @@ use cb_common::{
1313 commit:: {
1414 constants:: {
1515 GENERATE_PROXY_KEY_PATH , GET_PUBKEYS_PATH , RELOAD_PATH , REQUEST_SIGNATURE_PATH ,
16- REVOKE_JWT , STATUS_PATH ,
16+ REVOKE_MODULE_PATH , STATUS_PATH ,
1717 } ,
1818 request:: {
1919 EncryptionScheme , GenerateProxyRequest , GetPubkeysResponse , RevokeJWTRequest ,
@@ -84,7 +84,7 @@ impl SigningService {
8484
8585 let admin_app = axum:: Router :: new ( )
8686 . route ( RELOAD_PATH , post ( handle_reload) )
87- . route ( REVOKE_JWT , post ( handle_revoke_jwt ) )
87+ . route ( REVOKE_MODULE_PATH , post ( handle_revoke_module ) )
8888 . route_layer ( middleware:: from_fn_with_state ( state. clone ( ) , admin_auth) )
8989 . with_state ( state. clone ( ) )
9090 . route_layer ( middleware:: from_fn ( log_request) )
@@ -311,7 +311,7 @@ async fn handle_reload(
311311 Ok ( StatusCode :: OK )
312312}
313313
314- async fn handle_revoke_jwt (
314+ async fn handle_revoke_module (
315315 State ( state) : State < SigningState > ,
316316 Json ( request) : Json < RevokeJWTRequest > ,
317317) -> Result < impl IntoResponse , SignerModuleError > {
0 commit comments