Skip to content

Commit

Permalink
remove file ref when empty
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Jul 24, 2024
1 parent 84711e9 commit 194664e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export class ExternalToolUc {
if (thumbnailUrl !== currentExternalTool.thumbnail?.uploadUrl) {
if (currentExternalTool.thumbnail) {
await this.externalToolImageService.deleteImageFile(currentExternalTool.thumbnail.fileRecordId, jwt);

pendingExternalTool.thumbnail = undefined;
}

if (thumbnailUrl) {
Expand Down

0 comments on commit 194664e

Please sign in to comment.