mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 17:59:25 +00:00
Close database connection when finished with it
This commit is contained in:
@@ -59,6 +59,8 @@ class TestTemplate {
|
||||
testTemplateId,
|
||||
]);
|
||||
|
||||
conn.close();
|
||||
|
||||
if (!record.length)
|
||||
throw new Error('No test template found');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user