aboutsummaryrefslogtreecommitdiff
path: root/tprint
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-03-01 11:18:04 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-03-01 11:18:04 +0100
commit5c9935c88e3f5c301e5e47c5cd171377980a496e (patch)
treef938be009208b01bc23ab2433455719fb7290bde /tprint
parentfdebcd98c7246c1abb84269163f47115fb84d5a5 (diff)
downloadthermoprint-5c9935c88e3f5c301e5e47c5cd171377980a496e.tar
thermoprint-5c9935c88e3f5c301e5e47c5cd171377980a496e.tar.gz
thermoprint-5c9935c88e3f5c301e5e47c5cd171377980a496e.tar.bz2
thermoprint-5c9935c88e3f5c301e5e47c5cd171377980a496e.tar.xz
thermoprint-5c9935c88e3f5c301e5e47c5cd171377980a496e.zip
draftDelete
Diffstat (limited to 'tprint')
-rw-r--r--tprint/src/Main.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tprint/src/Main.hs b/tprint/src/Main.hs
index fa5cd26..4eb774c 100644
--- a/tprint/src/Main.hs
+++ b/tprint/src/Main.hs
@@ -127,5 +127,7 @@ tprint TPrint{ operation = DraftCreate{..}, ..} Client{..} out = withPrintout in
127tprint TPrint{ operation = DraftReplace{..}, ..} Client{..} _ = withPrintout input $ \p -> do 127tprint TPrint{ operation = DraftReplace{..}, ..} Client{..} _ = withPrintout input $ \p -> do
128 unless dryRun $ draftReplace draftId draftTitle p 128 unless dryRun $ draftReplace draftId draftTitle p
129 129
130tprint TPrint{ operation = DraftDelete{..}, ..} Client{..} _ = unless dryRun $ draftDelete draftId
131
130 132
131tprint _ _ _ = undefined 133tprint _ _ _ = undefined