fix(postgresql): close connections when done

This commit is contained in:
AnimatedSwine37
2023-06-27 10:31:09 +10:00
committed by Ali BARIN
parent 110c2dbac8
commit 8e9896ec2e
5 changed files with 8 additions and 0 deletions

View File

@@ -88,6 +88,8 @@ export default defineAction({
.returning('*')
.insert(data) as IJSONObject;
client.destroy();
$.setActionItem({ raw: response[0] as IJSONObject });
},
});