From 3fcfae257fe4e203f6ad76d7a297fbe85435b700 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 13 Mar 2019 23:00:41 -0700 Subject: [PATCH] Small flow issues --- app/utils/ApiClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/ApiClient.js b/app/utils/ApiClient.js index fef4a73cd..95ef9df57 100644 --- a/app/utils/ApiClient.js +++ b/app/utils/ApiClient.js @@ -101,7 +101,7 @@ class ApiClient { }; // Helpers - constructQueryString = (data: Object) => { + constructQueryString = (data: { [key: string]: string }) => { return map( data, (v, k) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`