Skip to content

Commit

Permalink
made areaID optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mattes-bru committed Dec 19, 2024
1 parent 8c63091 commit 786225f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct APIWeatherAlerts: Codable, Equatable {
struct APIAlertSummary: Codable, Equatable {
let name: String
let id: String
let areaID: String
let areaID: String?
let areaName: String?
let attributionURL: String
let countryCode: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
public struct AlertSummary: Codable, Equatable, Sendable {
public var name: String
public var id: String
public var areaID: String
public var areaID: String?
public var areaName: String?
public var attributionURL: String
public var countryCode: String
Expand All @@ -33,7 +33,7 @@ public struct AlertSummary: Codable, Equatable, Sendable {
public init(
name: String,
id: String,
areaID: String,
areaID: String?,
areaName: String?,
attributionURL: String,
countryCode: String,
Expand Down

0 comments on commit 786225f

Please sign in to comment.