Merge pull request #2 from FlipsideCrypto/last_record

change data to be an interface
This commit is contained in:
Don Cote 2019-07-17 14:42:43 -04:00 committed by GitHub
commit 1ba2dbec2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]interface{} `json:"data"`
}
func getNextRecord(c Client) (*Record, error) {