impr: add conversion function for datetime airtable fields #11

This commit is contained in:
mehanizm
2022-03-24 18:27:56 +03:00
parent da64a180a2
commit 14c5a59a88
4 changed files with 78 additions and 2 deletions

View File

@@ -23,7 +23,10 @@ func mockResponse(paths ...string) *httptest.Server {
}
return httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
rw.Write(mockData)
_, err := rw.Write(mockData)
if err != nil {
log.Fatal(err)
}
}))
}