Remove trailing slash

This commit is contained in:
Vishnu Mohandas 2020-11-20 14:43:20 +05:30
parent 8908615bc5
commit 2eebd82776

View file

@ -79,7 +79,7 @@ const getCollectionKey = async (collection: collection, key: Uint8Array) => {
}
const getCollections = async (token: string, sinceTime: string, key: Uint8Array): Promise<collection[]> => {
const resp = await HTTPService.get(`${ENDPOINT}/collections/`, {
const resp = await HTTPService.get(`${ENDPOINT}/collections`, {
'token': token,
'sinceTime': sinceTime,
});