From a7fd33854df63fefa297e45a051141a7580e8c2e Mon Sep 17 00:00:00 2001 From: Melissa Zhang Date: Thu, 9 Jul 2020 00:09:11 -0700 Subject: small bug fix --- src/client/apis/hypothesis/HypothesisApiUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/apis/hypothesis/HypothesisApiUtils.ts b/src/client/apis/hypothesis/HypothesisApiUtils.ts index ab83630a9..f31fa60a1 100644 --- a/src/client/apis/hypothesis/HypothesisApiUtils.ts +++ b/src/client/apis/hypothesis/HypothesisApiUtils.ts @@ -40,7 +40,7 @@ export namespace Hypothesis { }; // Find the most recent placeholder annotation created, and return its ID - export const getPlaceholderId = async (username: String, searchKeyWord: String) => { + export const getPlaceholderId = async (username: string, searchKeyWord: string) => { const getResponse = await Hypothesis.searchAnnotation(username, searchKeyWord); const id = getResponse.rows.length > 0 ? getResponse.rows[0].id : undefined; return StrCast(id); -- cgit v1.2.3-70-g09d2