mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-08 21:14:47 +09:00
feat(11): Add testDatabaseConnection API method for external DB validation
This commit is contained in:
1 parent
b5269e88b8
commit
8d19e3f241
1 file changed
+7
@@ -1470,6 +1470,13 @@ class ApiService {
|
||||
});
|
||||
}
|
||||
|
||||
async testDatabaseConnection(config) {
|
||||
return this.request('/templates/test-db-connection', {
|
||||
method: 'POST',
|
||||
body: config
|
||||
});
|
||||
}
|
||||
|
||||
async checkAppUpdate(appId) {
|
||||
return this.request(`/templates/apps/${appId}/check-update`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user