From 079194edf8f63f8548b83bbe492d4b8d7656504e Mon Sep 17 00:00:00 2001 From: aiaiaiai1 Date: Thu, 25 Jul 2024 16:33:59 +0900 Subject: [PATCH] fix: put logined user on top of the list --- src/main/java/gymmi/service/WorkspaceService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gymmi/service/WorkspaceService.java b/src/main/java/gymmi/service/WorkspaceService.java index d9f1cbd..b0b0585 100644 --- a/src/main/java/gymmi/service/WorkspaceService.java +++ b/src/main/java/gymmi/service/WorkspaceService.java @@ -244,7 +244,7 @@ public InsideWorkspaceResponse enterWorkspace(User logiendUser, Long workspaceId return InsideWorkspaceResponse.builder() .workspace(workspace) .achievementScore(achievementScore) - .sortedWorkers(sortedWorkers) + .sortedWorkers(workers) .workerRanks(workerRanks) .loginedUser(logiendUser) .build();