Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b637bf6

Browse files
dragonpooludomikula
authored andcommitted
Fixed deployment of application when it already exists in target environment as DELETED or RECYCLED
1 parent fc7ce61 commit b637bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/application/ApplicationApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public Mono<Void> updateUserApplicationLastViewTime(String applicationId) {
347347

348348
@Override
349349
public Mono<ApplicationView> update(String applicationId, Application application, Boolean updateStatus) {
350-
return Boolean.TRUE.equals(updateStatus) ? Mono.empty() : checkApplicationStatus(applicationId, NORMAL)
350+
return (Boolean.TRUE.equals(updateStatus) ? Mono.empty() : checkApplicationStatus(applicationId, NORMAL))
351351
.then(sessionUserService.getVisitorId())
352352
.flatMap(userId -> resourcePermissionService.checkAndReturnMaxPermission(userId,
353353
applicationId, EDIT_APPLICATIONS))

0 commit comments

Comments
 (0)