1. Peter Bex
  2. smsmatrix


Peter Bex  committed b4239f0

Be consistent... "incoming-only?:" is ugly as hell for a keyword

  • Participants
  • Parent commits 901a591
  • Branches default

Comments (0)

Files changed (1)

File smsmatrix.scm

View file
 ;; Not really part of the "API" as such since it returns something completely
 ;; different than =-separated lists of key/value pairs and "email" vs "username"
-(define (call-with-csv-report proc #!key username password limit incoming-only?)
+(define (call-with-csv-report proc #!key username password limit incoming-only)
   (let-auth 'csv-report username password
     (let* ((request (make-request method: 'POST
                                   uri: (uri-reference csv-report-uri)))
            (params `((email . ,username)
                      (password . ,password)
                      (limit . ,limit)
-                     (in . ,(if incoming-only? 1 0)))))
+                     (in . ,(if incoming-only 1 0)))))
       (call-with-input-request request params proc))))
 (define (send-sms recipients message #!key