updates collection delete to use the new API

This commit is contained in:
abhinav-grd 2021-09-28 12:47:16 +05:30
parent 44f01d128c
commit 8deb45a358
2 changed files with 2 additions and 3 deletions

View file

@ -474,7 +474,7 @@ export const deleteCollection = async (
const token = getToken();
await HTTPService.delete(
`${ENDPOINT}/collections/${collectionID}`,
`${ENDPOINT}/collections/v2/${collectionID}`,
null,
null,
{ 'X-Auth-Token': token }

View file

@ -360,8 +360,7 @@ const englishConstants = {
<>
<p>are you sure you want to delete this album?</p>
<p>
all files that are unique to this album will be permanently
deleted
all files that are unique to this album will be moved to trash
</p>
</>
),