Browse Source

fixed the bug again

master
wjak56@gmail.com 10 years ago
parent
commit
650d5c3908
  1. 5
      create_post.rkt

5
create_post.rkt

@ -200,11 +200,10 @@
(define (git-href post-name) (define (git-href post-name)
(let ([convert-commit (commit->post-id post-name)]) (let ([convert-commit (commit->post-id post-name)])
(match (match
(map convert-commit
(memf (memf
convert-commit convert-commit
(current-commits))) (current-commits))
[(list-rest post-id _) post-id] [(list-rest post-id _) (convert-commit post-id)]
[x #f]))) [x #f])))
; Add or refresh a post id associated with that post name ; Add or refresh a post id associated with that post name

Loading…
Cancel
Save