This commit is contained in:
Felix Ableitner 2025-01-10 12:58:41 +01:00
parent c9dfbfea1f
commit 7f78275006
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ import {
beforeAll(setupLogins);
afterAll(async () => {
//await Promise.all([unfollows(), deleteAllImages(alpha)]);
await Promise.all([unfollows(), deleteAllImages(alpha)]);
});
test("Upload image and delete it", async () => {

View file

@ -939,6 +939,7 @@ export async function deleteAllImages(api: LemmyHttp) {
token: image.local_image.pictrs_delete_token,
filename: image.local_image.pictrs_alias,
};
console.log("delete image: " + form);
return form;
})
.map(form => api.deleteImage(form)),