Make genID public
This commit is contained in:
parent
645c4ce217
commit
62076ddb2f
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue