1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Handle edge case for document numbering + tests

This commit is contained in:
Harvey Kandola 2018-06-09 19:13:38 +01:00
parent 0da8ae9e4a
commit 2e9734e73e
3 changed files with 30 additions and 2 deletions

View file

@ -18,7 +18,7 @@ import (
// LevelizeDocument generates level and sequence numbers for all document sections
func (h *Handler) LevelizeDocument(ctx domain.RequestContext, documentID string) {
method := "page.Levelize"
method := "page.LevelizeDocument"
var err error
ctx.Transaction.Commit()