From 54bd54e982e300c2f9ed439362903df24e43b762 Mon Sep 17 00:00:00 2001 From: Jeong-In-Hee Date: Fri, 20 Oct 2023 09:32:46 +0900 Subject: [PATCH] fix: device update user when voucher update --- .../swmaestro/repl/gifthub/auth/service/DeviceTokenService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/swmaestro/repl/gifthub/auth/service/DeviceTokenService.java b/src/main/java/org/swmaestro/repl/gifthub/auth/service/DeviceTokenService.java index daaaae8b..b811570b 100644 --- a/src/main/java/org/swmaestro/repl/gifthub/auth/service/DeviceTokenService.java +++ b/src/main/java/org/swmaestro/repl/gifthub/auth/service/DeviceTokenService.java @@ -43,6 +43,7 @@ public void save(String username, String token) { } else { deviceToken = read(token); deviceToken.setUpdatedAt(LocalDateTime.now()); + deviceToken.setUser(user); } deviceTokenRepository.save(deviceToken); }