Fix compute-token

For some reason the string-filter arguments were the wrong way around.
This commit is contained in:
Christopher Baines 2020-06-28 21:42:05 +01:00
parent ddbe4c2192
commit 911d0779ed
1 changed files with 3 additions and 3 deletions

View File

@ -30,12 +30,12 @@
build-server-id
token-seed)))
(string-filter
;; Remove the + / and = to make handling the value easier
char-set:letter+digit
(base64-encode
(bytevector-hash
(string->utf8 source-string)
(hash-algorithm sha1)))
;; Remove the + / and = to make handling the value easier
char-set:letter+digit)))
(hash-algorithm sha1))))))
(define (compute-tokens-for-build-server conn secret-key-base build-server-id)
(define query