pub async fn update_credential( __arg0: State<Arc<AppState>>, __arg1: Path<String>, __arg2: Json<UpdateCredentialRequest>, ) -> Result<impl IntoResponse, AppError>
PUT /admin/credentials/:id