Compare commits
1 Commits
48eea73833
...
f5a1bd77d1
| Author | SHA1 | Date | |
|---|---|---|---|
| f5a1bd77d1 |
@@ -55,7 +55,7 @@ func graphqlTypes() {
|
||||
},
|
||||
},
|
||||
"size": &graphql.Field{
|
||||
Type: graphql.Int,
|
||||
Type: graphql.NewNonNull(graphql.Int),
|
||||
Resolve: func(p graphql.ResolveParams) (interface{}, error) {
|
||||
file, err := loadFile(p)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user