updates collection delete to use the new API
This commit is contained in:
parent
44f01d128c
commit
8deb45a358
|
@ -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 }
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue