Skip to content

Commit

Permalink
Make ScheduleRecord codable.
Browse files Browse the repository at this point in the history
  • Loading branch information
thevojacek committed Jan 4, 2019
1 parent bb267c0 commit 885f7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Cronner/CronnerStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public protocol CronnerStore {
func remove (_ taskName: String) -> Void
}

public struct ScheduleRecord: Encodable {
public struct ScheduleRecord: Codable {
public let taskName: String
public var nextRun: Date
public var runs: Int = -1
Expand Down

0 comments on commit 885f7a7

Please sign in to comment.