aboutsummaryrefslogtreecommitdiff
path: root/src/ImageHoster
AgeCommit message (Collapse)Author
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.