diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-02-09 14:31:54 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2024-02-09 14:31:54 +0200 |
| commit | 78735a06523c8f53ae384110946c045f2347bff9 (patch) | |
| tree | 07e507fb56a49577d698e71984e595e1feb61d0f /desmoctl.scm | |
| parent | 4b86d47c9c65546ebb7124be0d00cfda89969e8b (diff) | |
Fix bug with new API interface
Diffstat (limited to 'desmoctl.scm')
| -rw-r--r-- | desmoctl.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desmoctl.scm b/desmoctl.scm index e2fd36f..924437a 100644 --- a/desmoctl.scm +++ b/desmoctl.scm @@ -443,7 +443,7 @@ (debug-print "apply json:" apply-json) (define api-response - (post-prison post-fn cfg apply-json)) + (post-prison cfg apply-json)) (debug-print "api-response:" api-response)) @@ -459,7 +459,7 @@ (print "Fetching status of all prisons...") (define api-response - (get-prisons get-fn cfg)) + (get-prisons cfg)) (define prisons (vector->list (from-json-string api-response))) |
