1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

refactor(request): fix typo in big corp name

This commit is contained in:
gudvinr 2025-08-15 19:37:51 +03:00 committed by Frédéric Guillot
parent ab26a4e20f
commit 5e3bba9ae1
3 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ const (
FlashErrorMessageContextKey
LastForceRefreshContextKey
ClientIPContextKey
GoogleReaderToken
GoogleReaderTokenKey
WebAuthnDataContextKey
)
@ -44,9 +44,9 @@ func WebAuthnSessionData(r *http.Request) *model.WebAuthnSession {
return nil
}
// GoolgeReaderToken returns the google reader token if it exists.
func GoolgeReaderToken(r *http.Request) string {
return getContextStringValue(r, GoogleReaderToken)
// GoogleReaderToken returns the google reader token if it exists.
func GoogleReaderToken(r *http.Request) string {
return getContextStringValue(r, GoogleReaderTokenKey)
}
// IsAdminUser checks if the logged user is administrator.