diff options
author | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-09 00:09:11 -0700 |
---|---|---|
committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-09 00:09:11 -0700 |
commit | a7fd33854df63fefa297e45a051141a7580e8c2e (patch) | |
tree | 9aa18a182c5a731e5fabbbfbd588c3413bbb66ca | |
parent | 1a73ed731ea17c46ac7823577143047097927326 (diff) |
small bug fix
-rw-r--r-- | src/client/apis/hypothesis/HypothesisApiUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); |