import { settingsPayload, updateSettings } from '../models/settingsModel.js';

export function listSettings(req, res) {
  res.json(settingsPayload());
}

export function saveSettings(req, res) {
  res.json(updateSettings(req.body));
}
