Small flow issues
This commit is contained in:
@@ -101,7 +101,7 @@ class ApiClient {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Helpers
|
// Helpers
|
||||||
constructQueryString = (data: Object) => {
|
constructQueryString = (data: { [key: string]: string }) => {
|
||||||
return map(
|
return map(
|
||||||
data,
|
data,
|
||||||
(v, k) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`
|
(v, k) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`
|
||||||
|
|||||||
Reference in New Issue
Block a user