changes friend-request

master
Bhaskara Kishore 3 years ago
parent 2b8d6902b7
commit 2b4f383b6a

@ -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",

Loading…
Cancel
Save