|
|
|
@ -32,7 +32,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
|
|
|
|
|
fastify.route({
|
|
|
|
|
method: "PUT",
|
|
|
|
|
url: "/api/friend-request/:supplierId/accept",
|
|
|
|
|
url: "/api/friend-request/accept",
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Friend-Request"],
|
|
|
|
|
description: "This is for supplier accept the friend request",
|
|
|
|
@ -55,7 +55,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
});
|
|
|
|
|
fastify.route({
|
|
|
|
|
method: "PUT",
|
|
|
|
|
url: "/api/friend-request/:supplierId/reject",
|
|
|
|
|
url: "/api/friend-request/reject",
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Friend-Request"],
|
|
|
|
|
description: "This is for supplier reject the friend request",
|
|
|
|
|