This commit is contained in:
Vitalii Kiiko
2024-09-03 10:44:07 +02:00
parent 6f6234a1d8
commit 429ca3c1d1
12 changed files with 105 additions and 26 deletions

View File

@@ -23,4 +23,8 @@ export default class FormsService {
static getFormById = (id, callback, errCallback) => {
NetworkService.get(`${API_BASE_URL}/form/${id}`, callback, errCallback);
};
static deleteForm = (id, callback, errCallback) => {
NetworkService.delete(`${API_BASE_URL}/form/${id}`, {}, callback, errCallback);
};
}