Fix recurrence json so that purescript can parse it.

[?]
Feb 8, 2021, 4:02 AM
Q6JI7TYXHFJIFSZGMBGTFGQFVYYGHZ4SW3R24QLTUPRJOI7V3S3AC

Dependencies

  • [2] V54JCKJX Payment request creation.
  • [3] GCVQD44V Create amends endpoint, switch to UUID primary keys
  • [4] ZIG57EE6 Fix project selection, end log end on project switch.
  • [5] UWMGUJOW Autoformat sources.
  • [6] X3ES7NUA Fine. I'll use ormolu. At least it doesn't break the code.
  • [7] KKJSBWO6 Add createPaymentRequestHandler
  • [8] SEWTRB6S Implement payment request creation functions.
  • [9] O227CEAV Adds storage of original event JSON for some DBOp constructors.
  • [10] H2ABVZI2 Add endpoint for payment request creation.
  • [11] AL37SVTC Implement payments service endpoints.
  • [12] IR75ZMX3 Return actual events for interval ends, not just timestamps.
  • [13] EFSXYZPO Autoformat everything with brittany.
  • [14] IPG33FAW Add billing daemon
  • [*] W35DDBFY Factor common JSON conversions up into client lib module.

Change contents

  • replacement in lib/Aftok/Json.hs at line 201
    [3.1886][3.37192:37249]()
    recurrenceJSON' B.Annually = object ["annually" .= Null]
    [3.1886]
    [3.15938]
    recurrenceJSON' B.Annually = object ["annually" .= object []]
  • replacement in lib/Aftok/Json.hs at line 205
    [3.16090][3.37325:37380](),[3.37325][3.37325:37380]()
    recurrenceJSON' B.OneTime = object ["onetime" .= Null]
    [3.16090]
    [3.5681]
    recurrenceJSON' B.OneTime = object ["onetime" .= object []]
  • replacement in server/Aftok/Snaplet/Billing.hs at line 175
    [3.8177][2.18673:18686]()
    v1 . obj $
    [3.8177]
    [2.18686]
    obj $