mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 06:52:18 +02:00
workaround for error 412 (Precondition Failed) on item delete
This commit is contained in:
parent
6a7c30e34f
commit
0afb6fa392
|
@ -159,7 +159,8 @@ final class OneDriveApi
|
||||||
{
|
{
|
||||||
checkAccessTokenExpired();
|
checkAccessTokenExpired();
|
||||||
char[] url = itemByIdUrl ~ id;
|
char[] url = itemByIdUrl ~ id;
|
||||||
if (eTag) http.addRequestHeader("If-Match", eTag);
|
//TODO: investigate why this always fail with 412 (Precondition Failed)
|
||||||
|
//if (eTag) http.addRequestHeader("If-Match", eTag);
|
||||||
del(url);
|
del(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue