mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
changed find to show services
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Whatsapp from "../../models/Whatsapp";
|
||||
import AppError from "../../errors/AppError";
|
||||
|
||||
const FindWhatsAppService = async (
|
||||
const ShowWhatsAppService = async (
|
||||
id: string | number
|
||||
): Promise<Whatsapp | undefined> => {
|
||||
const whatsapp = await Whatsapp.findByPk(id);
|
||||
@@ -13,4 +13,4 @@ const FindWhatsAppService = async (
|
||||
return whatsapp;
|
||||
};
|
||||
|
||||
export default FindWhatsAppService;
|
||||
export default ShowWhatsAppService;
|
||||
Reference in New Issue
Block a user