From fa7aa27349d50080be0a16602df8356616c87116 Mon Sep 17 00:00:00 2001 From: peng-u-0807 Date: Wed, 24 Jan 2024 13:22:01 +0000 Subject: [PATCH] Apply SwiftFormat changes --- SNUTT-2022/SNUTT/Repositories/Dto/NotificationDto.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SNUTT-2022/SNUTT/Repositories/Dto/NotificationDto.swift b/SNUTT-2022/SNUTT/Repositories/Dto/NotificationDto.swift index 07468a23..dff9653e 100644 --- a/SNUTT-2022/SNUTT/Repositories/Dto/NotificationDto.swift +++ b/SNUTT-2022/SNUTT/Repositories/Dto/NotificationDto.swift @@ -28,7 +28,7 @@ struct NotificationDto: Decodable { created_at = try container.decode(String.self, forKey: .created_at) user_id = try? container.decode(String.self, forKey: .user_id) type = try container.decode(Int.self, forKey: .type) - + let type = NotificationType(rawValue: type) ?? .normal var title = try container.decode(String.self, forKey: .title) if title.isEmpty {