diff --git a/pkg/model/model.go b/pkg/model/model.go index b08c1a5..c4611c6 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -59,7 +59,7 @@ func (m *Model) GetStats(c context.Context) (Stats, error) { } // returns the player's UUID if error is nil -// err = NoSuchEntity if the sessionsCode is incorrect +// err = NoSuchEntity if the sessionCode is incorrect func (m *Model) RegisterPlayer(playerName string, sessionCode string, c context.Context) (*ent.Player, error) { tx, err := m.c.BeginTx(c, &sql.TxOptions{ Isolation: sql.LevelRepeatableRead, diff --git a/ui/html/base.layout.tmpl.html b/ui/html/base.layout.tmpl.html index 0686306..af06a07 100644 --- a/ui/html/base.layout.tmpl.html +++ b/ui/html/base.layout.tmpl.html @@ -5,9 +5,9 @@ Tinyquiz - {{ block "aditional-css" . }}{{ end }} + {{ block "additional-css" . }}{{ end }} - {{ block "aditional-js" . }}{{ end }} + {{ block "additional-js" . }}{{ end }}
diff --git a/ui/html/game.page.tmpl.html b/ui/html/game.page.tmpl.html index fb524b9..8dfe00d 100644 --- a/ui/html/game.page.tmpl.html +++ b/ui/html/game.page.tmpl.html @@ -1,10 +1,10 @@ {{- template "base" . -}} -{{- define "aditional-css" -}} +{{- define "additional-css" -}} {{ end -}} -{{- define "aditional-js" -}} +{{- define "additional-js" -}} {{ end -}} {{- define "header" }} diff --git a/ui/html/home.page.tmpl.html b/ui/html/home.page.tmpl.html index f116291..0057023 100644 --- a/ui/html/home.page.tmpl.html +++ b/ui/html/home.page.tmpl.html @@ -1,10 +1,10 @@ {{- template "base" . -}} -{{- define "aditional-css" -}} +{{- define "additional-css" -}} {{ end -}} -{{- define "aditional-js" -}} +{{- define "additional-js" -}} {{ end -}}