diff options
| author | Eleanor Eng <eleanor.eng5@gmail.com> | 2019-11-16 16:37:36 -0500 |
|---|---|---|
| committer | Eleanor Eng <eleanor.eng5@gmail.com> | 2019-11-16 16:37:36 -0500 |
| commit | b5111d4f4c44b845b7dd324e4332bcdc12eda0b8 (patch) | |
| tree | 3c8ecc0af2accd5a49d6ff3ba1e46e7dab82858d /src/client/views/search | |
| parent | c24c16efbf798eac1003811f6c0ed98bfc65f48e (diff) | |
| parent | ab285371f6fb2a4f1e64888bafbc84b602f23416 (diff) | |
merge
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index b728ffaa9..6100c74df 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -8,7 +8,6 @@ import * as rp from 'request-promise'; import { Doc } from '../../../new_fields/Doc'; import { Id } from '../../../new_fields/FieldSymbols'; import { Cast, NumCast } from '../../../new_fields/Types'; -import { RouteStore } from '../../../server/RouteStore'; import { Utils } from '../../../Utils'; import { Docs } from '../../documents/Documents'; import { SetupDrag } from '../../util/DragManager'; @@ -90,7 +89,7 @@ export class SearchBox extends React.Component { public static async convertDataUri(imageUri: string, returnedFilename: string) { try { - let posting = Utils.prepend(RouteStore.dataUriToImage); + let posting = Utils.prepend("uploadURI"); const returnedUri = await rp.post(posting, { body: { uri: imageUri, |
