mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-26 20:08:10 +00:00
debug
This commit is contained in:
parent
c9dfbfea1f
commit
7f78275006
2 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ import {
|
||||||
beforeAll(setupLogins);
|
beforeAll(setupLogins);
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
//await Promise.all([unfollows(), deleteAllImages(alpha)]);
|
await Promise.all([unfollows(), deleteAllImages(alpha)]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Upload image and delete it", async () => {
|
test("Upload image and delete it", async () => {
|
||||||
|
|
|
@ -939,6 +939,7 @@ export async function deleteAllImages(api: LemmyHttp) {
|
||||||
token: image.local_image.pictrs_delete_token,
|
token: image.local_image.pictrs_delete_token,
|
||||||
filename: image.local_image.pictrs_alias,
|
filename: image.local_image.pictrs_alias,
|
||||||
};
|
};
|
||||||
|
console.log("delete image: " + form);
|
||||||
return form;
|
return form;
|
||||||
})
|
})
|
||||||
.map(form => api.deleteImage(form)),
|
.map(form => api.deleteImage(form)),
|
||||||
|
|
Loading…
Reference in a new issue