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:
@@ -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)
|
||||
};
|
||||
Reference in New Issue
Block a user