~netlandish/links

e2ea3b3ccc40f4f3882b5fdc759b57ad4ebd7c4a — Peter Sanchez a month ago 90b9c88
Fixing typo.

References: https://todo.code.netlandish.com/~netlandish/links/66
1 files changed, 1 insertions(+), 1 deletions(-)

M core/inputs.go
M core/inputs.go => core/inputs.go +1 -1
@@ 197,7 197,7 @@ func (i *ImportForm) Validate(c echo.Context) error {
	if i.Origin == safariOrigin || i.Origin == chromeOrigin || i.Origin == firefoxOrigin {
		if ext != ".html" {
			lt := localizer.GetSessionLocalizer(c)
			err = fmt.Errorf(lt.Translate("The file submitted for this source should be hmtl"))
			err = fmt.Errorf(lt.Translate("The file submitted for this source should be html"))
			return validate.InputErrors{"File": err}
		}
	} else if i.Origin == pinBoardOrigin && ext != ".json" {