Skip to content

Commit

Permalink
fix symbol identification in graphql's getfeed endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Sep 27, 2023
1 parent 799a10b commit de2b8fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/http/graphqlServer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module graphqlServer
go 1.17

require (
github.com/diadata-org/diadata v1.4.379
github.com/diadata-org/diadata v1.4.382
github.com/graph-gophers/graphql-go v1.1.0
github.com/sirupsen/logrus v1.8.1
)
Expand Down
1 change: 0 additions & 1 deletion pkg/graphql/resolver/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ func (r *DiaResolver) GetFeed(ctx context.Context, args struct {
// log.Errorln("Error getting filter", err)
// }
// }
log.Info("go into filters.------------------------------------------------------------")

switch filter {
// case "ema":
Expand Down
2 changes: 1 addition & 1 deletion pkg/model/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func (rdb *RelDB) GetExchangeSymbol(exchange string, symbol string) (asset dia.A
INNER JOIN %s a
ON es.asset_id=a.asset_id
WHERE (es.exchange=$1 %s)
AND es.symbol ILIKE $2
AND a.symbol ILIKE $2
`,
exchangesymbolTable,
assetTable,
Expand Down

0 comments on commit de2b8fd

Please sign in to comment.