aboutsummaryrefslogtreecommitdiff
path: root/src/ImageHoster
AgeCommit message (Collapse)Author
2022-04-08update stack snapshotHEADmasterDaniel Schadt
This gives us the fixes versions of cgi and multipart, as well as aeson 2 (which required some code adjustments).
2020-03-03rewrite handleUploadDaniel Schadt
This way we avoid the right-drift that we introduced in the first version, as the error handling and propagation is done in the Maybe monad. The downside to this is that we lose some error information: We cannot show anymore if the authorization failed or something else went wrong, because in all cases we just bail out with Nothing.
2020-03-03reorganize moduleDaniel Schadt
This switches some definitions around and wraps App in a newtype, in preparation for more cleanup.