diff --git a/BE/src/token/service/token.service.ts b/BE/src/token/service/token.service.ts index b2379e5..c7d6875 100644 --- a/BE/src/token/service/token.service.ts +++ b/BE/src/token/service/token.service.ts @@ -79,7 +79,6 @@ export class TokenService { private async updateToken(accessToken: string, refreshToken: string) { const payload = await this.validateRefreshToken(refreshToken); - await this.getPayload(accessToken); const newToken = await this.signToken(payload.id, ACCESS_TOKEN_EXPIRES_IN); await deleteFromRedis(accessToken); // 기존 토큰 삭제 await saveToRedis(newToken, refreshToken); // 새로운 토큰 저장 diff --git a/BE/src/workbook/entity/workbook.ts b/BE/src/workbook/entity/workbook.ts index b988767..a5edde2 100644 --- a/BE/src/workbook/entity/workbook.ts +++ b/BE/src/workbook/entity/workbook.ts @@ -78,5 +78,6 @@ export class Workbook extends DefaultEntity { this.title = updateWorkbookRequest.title; this.content = updateWorkbookRequest.content; this.category = category; + this.isPublic = updateWorkbookRequest.isPublic; } }