feat: add SMS template IDs to dashboard settings

Let SuperAdmin save sms.ir template IDs in the database, creating missing template records on save.
This commit is contained in:
2026-08-15 18:37:44 +03:30
parent 2b3941e41e
commit 717f122eef
2 changed files with 121 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
// /src/api/settingsApi.js
import axiosInstance from './axiosInstance';
export const settingsApi = {
get: () => axiosInstance.get('/settings'),
save: (data) => axiosInstance.put('/settings', data)
};