Skip to content

Commit

Permalink
disable network creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Baalmart committed Dec 3, 2024
1 parent bcb5185 commit b5459ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions src/auth-service/utils/create-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ const createNetwork = {
},
create: async (request, next) => {
try {
// return {
// success: false,
// message: "Service Temporarily Unavailable",
// errors: {
// message: "Service Temporarily Unavailable",
// },
// status: httpStatus.SERVICE_UNAVAILABLE,
// };
return {
success: false,
message: "Service Temporarily Unavailable",
errors: {
message: "Service Temporarily Unavailable",
},
status: httpStatus.SERVICE_UNAVAILABLE,
};
const { body, query } = request;
const { tenant } = query;

Expand Down
12 changes: 6 additions & 6 deletions src/device-registry/utils/create-cohort.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ const createCohort = {
},
createNetwork: async (request, next) => {
try {
// return {
// success: false,
// message: "Service Temporarily Disabled --coming soon",
// status: httpStatus.SERVICE_UNAVAILABLE,
// errors: { message: "Service Unavailable" },
// };
return {
success: false,
message: "Service Temporarily Disabled --coming soon",
status: httpStatus.SERVICE_UNAVAILABLE,
errors: { message: "Service Unavailable" },
};
/**
* in the near future, this wont be needed since Kafka
* will handle the entire creation process
Expand Down

0 comments on commit b5459ba

Please sign in to comment.