Skip to content

Commit 25e87b9

Browse files
Merge branch 'master' of github.com:dipdup-net/go-lib
2 parents a960c86 + c16f65f commit 25e87b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hasura/api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ func (api *API) ReplaceMetadata(data *Metadata) error {
140140
// TrackTable -
141141
func (api *API) TrackTable(schema, name string) error {
142142
req := request{
143-
Type: "pg_track_table",
143+
Type: "track_table",
144144
Args: map[string]string{
145-
"source": schema,
146-
"table": name,
145+
"schema": schema,
146+
"name": name,
147147
},
148148
}
149149
return api.post("/v1/query", nil, req, nil)

0 commit comments

Comments
 (0)