From 57c5940dbe60cd98bfbcbc96691e5dbe630b57f0 Mon Sep 17 00:00:00 2001 From: Luke Francl Date: Tue, 12 Oct 2021 16:20:14 -0700 Subject: [PATCH] Update common.go Thanks @lafriks for catching this! Co-authored-by: Lauris BH --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index a25caa3..e6ec174 100644 --- a/common.go +++ b/common.go @@ -570,7 +570,7 @@ func GetLanguageInfo(language string) (data.LanguageInfo, error) { return GetLanguageInfoByID(id) } -// GetLanguageInfo returns the LanguageInfo for a given language name, or an error if not found. +// GetLanguageInfoByID returns the LanguageInfo for a given language ID, or an error if not found. func GetLanguageInfoByID(id int) (data.LanguageInfo, error) { if info, ok := data.LanguageInfoByID[id]; ok { return info, nil