change data to array of maps

This commit is contained in:
Don Cote 2019-07-11 13:53:30 -04:00
parent 18694390c3
commit 5a0e58ab63

View File

@ -9,8 +9,8 @@ import (
// Record represents a Data Bridge data record
type Record struct {
ID string `json:"id"`
Data map[string]string `json:"data"`
ID string `json:"id"`
Data []map[string]string `json:"data"`
}
func getNextRecord(c Client) (*Record, error) {