Skip to content

Commit

Permalink
Delete Layer Incoming
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Jan 31, 2025
1 parent b6c9bec commit 515c76b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/routes/connection-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,10 @@ export default async function router(schema: Schema, config: Config) {

await CloudFormation.delete(config, layer.id);

if (layer.incoming) {
await config.models.LayerIncoming.delete(req.params.layerid);
}

config.events.delete(layer.id);

await config.models.Layer.delete(req.params.layerid);
Expand Down

0 comments on commit 515c76b

Please sign in to comment.