fix: replace deprecated method with a correct one
This commit is contained in:
parent
7b6624ecc3
commit
ea767f3d19
@ -44,7 +44,7 @@ func NewHandler(repo db.Repository) http.Handler {
|
||||
}
|
||||
|
||||
var subjectID uuid.UUID
|
||||
in := graphql.GetResolverContext(ctx).Args["input"]
|
||||
in := graphql.GetFieldContext(ctx).Args["input"]
|
||||
val := reflect.ValueOf(in) // could be any underlying type
|
||||
if val.Kind() == reflect.Ptr {
|
||||
val = reflect.Indirect(val)
|
||||
|
Loading…
Reference in New Issue
Block a user