Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
fix: date is string in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Aug 11, 2018
1 parent 8fc4886 commit da4d4ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/periodical.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const PeriodicalJSONType = struct({
title: NonEmptyStringType,
saving: BooleanType,
amount: IntegerType,
startsAt: MaybeDateType,
startsAt: MaybeStringType,
estimate: BooleanType,
enabledIn01: BooleanType,
enabledIn02: BooleanType,
Expand Down
2 changes: 1 addition & 1 deletion src/spending.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const SpendingJSONType = struct({
category: NonEmptyStringType,
title: NonEmptyStringType,
booked: BooleanType,
bookedAt: MaybeDateType,
bookedAt: MaybeStringType,
saving: BooleanType,
amount: IntegerType
}, 'SpendingJSONType')
Expand Down

0 comments on commit da4d4ab

Please sign in to comment.