Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 67db92e

Browse files
committed
Fix StatsPeriodUnit crash
1 parent 2613f21 commit 67db92e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ let package = Package(
1111
targets: [
1212
.binaryTarget(
1313
name: "WordPressKit",
14-
url: "https://github.com/user-attachments/files/21420518/WordPressKit.zip",
15-
checksum: "c57f60d8476cb1ba7000a2aa1fe0607794e1660c964d31ddab6e5add5db70499"
14+
url: "https://github.com/user-attachments/files/21474850/WordPressKit.zip",
15+
checksum: "4621e8faa2ce9c7ef847008b044ac9e04e733e6d8ede9e4a424eeb8c832b85c3"
1616
),
1717
]
1818
)

Sources/WordPressKit/Models/Stats/Time Interval/StatsSummaryTimeIntervalData.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import Foundation
2+
13
@frozen public enum StatsPeriodUnit: Int {
2-
case hour
34
case day
45
case week
56
case month
67
case year
8+
case hour
79
}
810

911
@frozen public enum StatsSummaryType: Int {

0 commit comments

Comments
 (0)