9 lines
313 B
TypeScript
9 lines
313 B
TypeScript
import { Request, Response } from "express";
|
|
import ImportContactsService from "../services/WbotServices/ImportContactsService";
|
|
|
|
export const store = async (req: Request, res: Response): Promise<Response> => {
|
|
await ImportContactsService();
|
|
|
|
return res.status(200).json({ message: "contacts imported" });
|
|
};
|