Fix typo for autogenerated code

pull/100/head
Chris Goller 2016-09-21 15:37:01 -07:00
parent 73818288e5
commit fb230a7f42
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ func (h *InfluxProxy) Proxy(ctx context.Context, params op.PostSourcesIDProxyPar
// TODO: Add support for multiple TimeSeries with lookup based on params.ID
query := mrfusion.Query{
Command: *params.Query.Query,
DB: params.Query.DB,
DB: params.Query.Db,
RP: params.Query.Rp,
}

View File

@ -59,7 +59,7 @@ func (m *Handler) SourcesID(ctx context.Context, params op.GetSourcesIDParams) m
func (m *Handler) Proxy(ctx context.Context, params op.PostSourcesIDProxyParams) middleware.Responder {
query := mrfusion.Query{
Command: *params.Query.Query,
DB: params.Query.DB,
DB: params.Query.Db,
RP: params.Query.Rp,
}
response, err := m.TimeSeries.Query(ctx, mrfusion.Query(query))