Skip to content

Commit 40ab766

Browse files
Fix: linter
1 parent b6d6976 commit 40ab766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hasura/hasura.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func Create(hasura config.Hasura, cfg config.Database, views []string, models ..
5151
}
5252
}
5353

54-
if err := createQueryCollections(api, hasura, metadata); err != nil {
54+
if err := createQueryCollections(metadata); err != nil {
5555
return err
5656
}
5757

@@ -191,7 +191,7 @@ func getColumns(typ reflect.Type) []string {
191191
return columns
192192
}
193193

194-
func createQueryCollections(api *API, cfg config.Hasura, metadata *Metadata) error {
194+
func createQueryCollections(metadata *Metadata) error {
195195
if metadata == nil {
196196
return nil
197197
}

0 commit comments

Comments
 (0)