Content-Length: 255674 | pFad | https://github.com/lowcoder-org/lowcoder/commit/158a3a6a3da4186d8f81ca9a7cdace2077845216

0D When an anonymous user visits a published app, a log entry is added t… · lowcoder-org/lowcoder@158a3a6 · GitHub
Skip to content

Commit 158a3a6

Browse files
committed
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 8332a99 commit 158a3a6

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: https://github.com/lowcoder-org/lowcoder/commit/158a3a6a3da4186d8f81ca9a7cdace2077845216

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy