Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 520 Bytes

rule.md

File metadata and controls

27 lines (23 loc) · 520 Bytes

Data Envelope rule

  // Success
  const responseEnvelope = {
      status: 'success',
      message: 'Graph data retrieved successfully',
      data: graphData,
    };

  // Error
     const errorResponseEnvelope = {
        status: 'error',
        error: error, // Debugging information
        message: "Unexpected error while sending graph data",  // Display error
        data: null,
    };

// FIXME: Change mongodb whitelist to backend ip

ERP MOOZ Plan Pilot Selection WYT