mirror of https://github.com/halo-dev/halo
fix: typo (#1516)
parent
58d1b3f9c0
commit
c3536cb8ce
|
@ -42,7 +42,7 @@ public class GitThemeUpdater implements ThemeUpdater {
|
||||||
// get theme property
|
// get theme property
|
||||||
final var oldThemeProperty = themeRepository.fetchThemePropertyByThemeId(themeId)
|
final var oldThemeProperty = themeRepository.fetchThemePropertyByThemeId(themeId)
|
||||||
.orElseThrow(
|
.orElseThrow(
|
||||||
() -> new NotFoundException("主题 " + themeId + " 不存在或以删除!").setErrorData(themeId));
|
() -> new NotFoundException("主题 " + themeId + " 不存在或已删除!").setErrorData(themeId));
|
||||||
|
|
||||||
// get update config
|
// get update config
|
||||||
final var gitRepo = oldThemeProperty.getRepo();
|
final var gitRepo = oldThemeProperty.getRepo();
|
||||||
|
|
Loading…
Reference in New Issue