Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made areaID optional #36

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
@@ -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,