fix: hardcoded token title param

This commit is contained in:
2025-12-26 20:12:11 +03:00
parent 5456ca5120
commit b54ce54e79

View File

@@ -75,7 +75,7 @@ func (v *linkValidatorImpl) ValidateLink(rawURL string) (token string, ok bool)
}
}
token = parsedURL.Query().Get("token")
token = parsedURL.Query().Get(v.config.Communication.QrQueryToken)
if token == "" {
v.log.Debug("URL missing token parameter", "url", rawURL)
return "", false