FlowFuse / flowfuse

Build bespoke, flexible, and resilient manufacturing low-code applications with FlowFuse and Node-RED
https://flowfuse.com
Other
243 stars 59 forks source link

Deleting an application makes an api call to instances api #4007

Open cstns opened 3 weeks ago

cstns commented 3 weeks ago

Current Behavior

After deleting an application an api call is made to api/v1/applications/<app-id>/instances endpoint with the recently deleted app ip which returns a 404 and throws an error

Expected Behavior

the instances api call should not be made

Steps To Reproduce

Create an empty application and delete it.

Environment

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate