custom-routes.js
1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const routes = {
routes: [
{
method: "POST",
path: "/vendor/finish-otp-verification",
handler: "api::vendor.vendor.finishVendorOtpVerification",
config: {
//some Configuration
},
},
{
method: "POST",
path: "/jeweler/import-seed-data",
handler: "api::vendor.vendor.importSeedData",
config: {
// some configuration...
}
},
{
method: "POST",
path: "/vendor/removedirectory/delete",
handler: "api::vendor.vendor.removedirectory",
config: {
// some configuration...
}
},
{
method: "POST",
path: "/vendor/send-mail",
handler: "api::vendor.vendor.sendMail",
config: {
// some configuration...
}
},
{
method: "POST",
path: "/vendor/updateVendorId",
handler: "api::vendor.vendor.addVendorId",
config: {
// some configuration...
}
},
],
};
module.exports = routes;