-
Notifications
You must be signed in to change notification settings - Fork 1
634 s3 acess denied 오류 해결 #635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "634-s3-acess-denied-\uC624\uB958-\uD574\uACB0"
Changes from 2 commits
6d4d1de
de85d91
90b77eb
12727c1
e101742
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package dsm.pick2024.domain.timetable.domain.vo | ||
|
|
||
| import java.text.Normalizer | ||
|
|
||
| data class FileNameVo(val rawName: String) { | ||
| val value: String = Normalizer.normalize(rawName, Normalizer.Form.NFC) | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| package dsm.pick2024.domain.timetable.service | ||
|
|
||
| import dsm.pick2024.domain.timetable.domain.vo.FileNameVo | ||
| import dsm.pick2024.domain.timetable.port.`in`.QueryTeacherTimetableUseCase | ||
| import dsm.pick2024.domain.timetable.port.out.QueryTimeTablePort | ||
| import dsm.pick2024.domain.timetable.presentation.dto.response.DayTimetableResponse | ||
|
|
@@ -32,7 +33,10 @@ class QueryTeacherTimetableService( | |
|
|
||
| val timetables = (1..7).mapNotNull { period -> | ||
| tables.find { it.period == period }?.let { timetable -> | ||
| val imageUrl = fileUtil.generateObjectUrl("${timetable.subjectName}.png", PathList.TIMETABLE) | ||
| val imageUrl = fileUtil.generateObjectUrl( | ||
| FileNameVo("${timetable.subjectName}.png"), | ||
| PathList.TIMETABLE | ||
| ) | ||
|
Comment on lines
+35
to
+38
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이건 lint에서 짤려서 내린건가요?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fileNameVo 말씀하시는 거면 의존성 관리가 안되어서 없앴습니다. |
||
| PeriodTimetableResponse(timetable.id!!, period, timetable.subjectName, imageUrl) | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.