Make genID public

This commit is contained in:
Las Zenow 2018-07-01 14:35:09 +00:00
parent 645c4ce217
commit 62076ddb2f
2 changed files with 4 additions and 4 deletions

View file

@ -67,7 +67,7 @@ func listPostHandler(h handler) {
var listID string
if list == nil {
listID = genID()
listID = GenID()
err = h.db.NewBookList(listID, listTitle, h.sess.User, []string{})
if err != nil {
log.Error("Error creating list ", listTitle, " by user ", h.sess.User, ": ", err)