We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4361263 commit 79cf4abCopy full SHA for 79cf4ab
src/main/java/com/timecoder/payload/UpdateThemeDto.java
@@ -12,4 +12,6 @@ public class UpdateThemeDto {
12
13
@JsonProperty
14
private String title;
15
+ @JsonProperty
16
+ private String timecode;
17
}
src/main/java/com/timecoder/service/ThemeService.java
@@ -89,6 +89,7 @@ public boolean deleteFreeTheme(Long id) {
89
public Theme updateTheme(Long id, UpdateThemeDto updateThemeDto) {
90
Theme theme = themeRepository.findById(id).get();
91
theme.setTitle(updateThemeDto.getTitle());
92
+ theme.setTimecode(updateThemeDto.getTimecode());
93
return themeRepository.save(theme);
94
95
0 commit comments