Skip to content

Commit 126cb1f

Browse files
authored
Update search-apollo.tsx
1 parent 43177ba commit 126cb1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/archive-apis/search-apollo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Code for searching APOLLO MAPPING API
22

33
import ky from 'ky'
4-
import { Providers, maxAbs, filterFeaturesWithSearchParams, processInChunks, ComputeSha256Hash } from './search-utilities'
4+
import { Providers, maxAbs, filterFeaturesWithSearchParams, processInChunks, computeSha256Hash } from './search-utilities'
55
import { v4 as uuidv4 } from 'uuid'
66
import bboxPolygon from '@turf/bbox-polygon'
77
import { log } from '../utilities'
@@ -17,7 +17,7 @@ const searchApollo = async (searchSettings, apolloApikey, searchPolygon: any | n
1717
const hour = now.getUTCHours();
1818
const secret = "iGsZ1wMw8xERUZrxNPvBt2TlFTFcN3P2";
1919
const raw = `${day}${hour}${secret}`;
20-
const hashHex = await ComputeSha256Hash(raw)
20+
const hashHex = await computeSha256Hash(raw)
2121

2222
return hashHex;
2323
}

0 commit comments

Comments
 (0)