mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
10 lines
219 B
TypeScript
10 lines
219 B
TypeScript
import Whatsapp from "../../models/Whatsapp";
|
|
|
|
const ListWhatsAppsService = async (): Promise<Whatsapp[]> => {
|
|
const whatsapps = await Whatsapp.findAll();
|
|
|
|
return whatsapps;
|
|
};
|
|
|
|
export default ListWhatsAppsService;
|