projeto-hit/backend/src/services/SettingServices/ListSettingsService.ts

10 lines
223 B
TypeScript

import Setting from "../../models/Setting";
const ListSettingsService = async (): Promise<Setting[] | undefined> => {
const settings = await Setting.findAll();
return settings;
};
export default ListSettingsService;