diff --git a/SNUTT-2022/SNUTT/Repositories/Dto/ConfigDto.swift b/SNUTT-2022/SNUTT/Repositories/Dto/ConfigDto.swift index c8304ce1..1dbcb1d9 100644 --- a/SNUTT-2022/SNUTT/Repositories/Dto/ConfigDto.swift +++ b/SNUTT-2022/SNUTT/Repositories/Dto/ConfigDto.swift @@ -12,7 +12,7 @@ struct ConfigsDto: Codable { let vacancySugangSnuUrl: VacancySugangSnuUrlDto? let settingsBadge: SettingsBadgeDto? let reactNativeBundleFriends: ReactNativeBundleFriendsDto? - let notices: NoticeViewInfoDto? + let notice: NoticeViewInfoDto? let disableMapFeature: Bool? } diff --git a/SNUTT-2022/SNUTT/Services/GlobalUIService.swift b/SNUTT-2022/SNUTT/Services/GlobalUIService.swift index 4d022677..2cc02a3f 100644 --- a/SNUTT-2022/SNUTT/Services/GlobalUIService.swift +++ b/SNUTT-2022/SNUTT/Services/GlobalUIService.swift @@ -169,7 +169,7 @@ struct GlobalUIService: GlobalUIServiceProtocol, UserAuthHandler, ConfigsProvida func showNoticeViewIfNeeded() async throws { let configs = try await configRepository?.fetchConfigs() - appState.system.noticeViewInfo = configs?.notices + appState.system.noticeViewInfo = configs?.notice } // MARK: Error Handling