generated from nhcarrigan/template
fix: include testimonials in review/list endpoints
Node.js CI / Lint and Test (push) Successful in 1m51s
Node.js CI / Lint and Test (push) Successful in 1m51s
This commit is contained in:
@@ -22,6 +22,7 @@ export const listRoutes: WrappedRoute = (database) => {
|
|||||||
"meetings",
|
"meetings",
|
||||||
"mentorships",
|
"mentorships",
|
||||||
"staff",
|
"staff",
|
||||||
|
"testimonials",
|
||||||
];
|
];
|
||||||
for (const route of routes) {
|
for (const route of routes) {
|
||||||
fastify.get(`/list/${route}`, async(_request, response) => {
|
fastify.get(`/list/${route}`, async(_request, response) => {
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ export const reviewRoutes: WrappedRoute = (database) => {
|
|||||||
"meetings",
|
"meetings",
|
||||||
"mentorships",
|
"mentorships",
|
||||||
"staff",
|
"staff",
|
||||||
|
"testimonials",
|
||||||
];
|
];
|
||||||
for (const route of routes) {
|
for (const route of routes) {
|
||||||
fastify.put<{
|
fastify.put<{
|
||||||
|
|||||||
Reference in New Issue
Block a user