Skip to content

Commit

Permalink
fix api key revocation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
dushaniw committed Feb 14, 2024
1 parent d1ecb45 commit e148c16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3310,6 +3310,7 @@ public void revokeAPIKey(String apiKey, long expiryTime, String tenantDomain) th
int tenantId = APIUtil.getTenantIdFromTenantDomain(tenantDomain);
String eventID = UUID.randomUUID().toString();
properties.put(APIConstants.NotificationEvent.EVENT_ID, eventID);
properties.put(APIConstants.NotificationEvent.EVENT_TYPE, APIConstants.API_KEY_AUTH_TYPE);
properties.put(APIConstants.NotificationEvent.TOKEN_TYPE, APIConstants.API_KEY_AUTH_TYPE);
properties.put(APIConstants.NotificationEvent.TENANT_ID, tenantId);
properties.put(APIConstants.NotificationEvent.TENANT_DOMAIN, tenantDomain);
Expand Down

0 comments on commit e148c16

Please sign in to comment.