Add some comments and remove the db init (will be done at startup)
This commit is contained in:
parent
0b15558039
commit
2ed50d75bc
1 changed files with 2 additions and 3 deletions
|
@ -32,10 +32,9 @@
|
||||||
(if-not (entry/exists? ld-uid)
|
(if-not (entry/exists? ld-uid)
|
||||||
(save-entry (scrape/entry-details ld-uid)))))))
|
(save-entry (scrape/entry-details ld-uid)))))))
|
||||||
|
|
||||||
; TODO: Whatch out, the competition is set in the scrape .... refactor this ...
|
; TODO: Watch out, the competition is set in the scrape .... refactor this ...
|
||||||
|
; TODO: Only create the competition if not allready exists
|
||||||
(defn load-competition [id title]
|
(defn load-competition [id title]
|
||||||
(cleanup)
|
|
||||||
(schema/create-tables)
|
|
||||||
(competition/create! id title)
|
(competition/create! id title)
|
||||||
(fetch-all-content))
|
(fetch-all-content))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue