Small flow issues

This commit is contained in:
Tom Moor 2019-03-13 23:00:41 -07:00
parent 3ef507c137
commit 3fcfae257f
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class ApiClient {
};
// Helpers
constructQueryString = (data: Object) => {
constructQueryString = (data: { [key: string]: string }) => {
return map(
data,
(v, k) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`