feat(platform): use vehicle keyword for data queries
This commit is contained in:
@@ -86,7 +86,8 @@ func (h *Handler) handleRawFramesGet(w http.ResponseWriter, r *http.Request) {
|
||||
q := r.URL.Query()
|
||||
query := RawFrameQuery{
|
||||
Protocol: q.Get("protocol"),
|
||||
VIN: q.Get("vin"),
|
||||
VIN: firstNonEmpty(q.Get("vin"), q.Get("keyword")),
|
||||
Keyword: q.Get("keyword"),
|
||||
DateFrom: q.Get("dateFrom"),
|
||||
DateTo: q.Get("dateTo"),
|
||||
Fields: splitCSV(q.Get("fields")),
|
||||
|
||||
Reference in New Issue
Block a user