Преглед изворни кода

massage query for recent proposal submissions, to get a list

George C. Privon пре 2 година
родитељ
комит
420ba68290
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      update_proposals.rkt

+ 1 - 1
update_proposals.rkt

@@ -75,7 +75,7 @@
 
 ; get information from the most recent proposal submission
 (define (last-proposal-call conn)
-  (query-list conn "SELECT type, organization, solicitation, telescope FROM proposals ORDER BY id DESC LIMIT 1"))
+  (vector->list (query-row conn "SELECT type, organization, solicitation, telescope FROM proposals ORDER BY id DESC LIMIT 1")))
 
 ; add a new proposal to the database
 (define (addnew conn)