Skip to content

Commit

Permalink
Merge pull request #12667 from Avishka-Shamendra/bug-fixing
Browse files Browse the repository at this point in the history
[Bug Fix] Fix Websocket New Version Creation
  • Loading branch information
Avishka-Shamendra authored Oct 16, 2024
2 parents 99f2e3e + a9ba505 commit 654ffa4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ public PublisherAPI addAPI(Organization org, PublisherAPI publisherAPI) throws A
((UserRegistry) registry).getTenantId());
RegistryPersistenceUtil.setResourcePermissions(api.getId().getProviderName(), api.getVisibility(),
visibleRoles, resourcePath);
} else if (api.getAsyncApiDefinition() != null) {
}
if (api.getAsyncApiDefinition() != null) {
String resourcePath = RegistryPersistenceUtil
.getOpenAPIDefinitionFilePath(api.getId().getName(), api.getId().getVersion(),
api.getId().getProviderName());
Expand Down

0 comments on commit 654ffa4

Please sign in to comment.