Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BLasan committed Apr 1, 2024
1 parent 1a8469b commit 825b6a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static API importApi(String extractedFolderPath, APIDTO importedApiDTO, B
String previousApiProvider = apiProvider.getAPIProviderByNameAndOrganization(importedApiDTO.getName(),
RestApiCommonUtil.getLoggedInUserTenantDomain());

if (!StringUtils.isEmpty(previousApiProvider)) {
if (!StringUtils.isEmpty(previousApiProvider) && !overwrite) {
//current provider is updated based on the preserve-provider input.
//tenant domain is verified already
// [only allows preserve-provider = false in cross tenant. (provider is set to logged-in user)]
Expand Down

0 comments on commit 825b6a5

Please sign in to comment.