Update to new goprogram version

This commit is contained in:
Tom Wiesing 2023-11-01 22:01:24 +01:00
parent 7bd9570bc0
commit 873fdcd5c2
No known key found for this signature in database
106 changed files with 478 additions and 825 deletions

View file

@ -9,7 +9,7 @@ import (
type ResolverScope struct {
component.Base
Dependencies struct {
dependencies struct {
Auth *auth.Auth
}
}
@ -32,6 +32,6 @@ func (*ResolverScope) Scope() component.ScopeInfo {
}
func (rs *ResolverScope) HasScope(param string, r *http.Request) (bool, error) {
_, user, err := rs.Dependencies.Auth.SessionOf(r)
_, user, err := rs.dependencies.Auth.SessionOf(r)
return user != nil, err
}