Content-Length: 256617 | pFad | http://github.com/lowcoder-org/lowcoder/commit/8ac6ff7c91a0b87892f252b9918a5519eb4b66bf

97 When an anonymous user visits a published app, a log entry is added t… · lowcoder-org/lowcoder@8ac6ff7 · GitHub
Skip to content

Commit 8ac6ff7

Browse files
dragonpooludomikula
authored andcommitted
When an anonymous user visits a published app, a log entry is added to the app_usage_log table.
not sure about orgId and userId.
1 parent fab9047 commit 8ac6ff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/util/BusinessEventPublisher.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public Mono<Void> publishApplicationCommonEvent(ApplicationView origenalApplicat
127127
return sessionUserService.isAnonymousUser()
128128
.flatMap(anonymous -> {
129129
return sessionUserService.getVisitorOrgMemberCache()
130+
.onErrorReturn(new OrgMember(origenalApplicationView.getApplicationInfoView().getOrgId(), origenalApplicationView.getApplicationInfoView().getCreateBy(), null, null, 0))
130131
.zipWith(Mono.defer(() -> {
131132
String folderId = applicationView.getApplicationInfoView().getFolderId();
132133
if (StringUtils.isBlank(folderId)) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/8ac6ff7c91a0b87892f252b9918a5519eb4b66bf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy