From f75337c9b02631c8b8e0bc82977e40155fb02c26 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Wed, 22 Dec 2021 12:06:28 +0530 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b62604..e7fb4ad 100644 --- a/README.md +++ b/README.md @@ -73,10 +73,11 @@ floCloudAPI.requestGeneralData("type1", { senderIDs: floGlobals.subAdmins }) * Usage of sendGeneralData from RIBC dApp ``` + //take name and comments as function parameters, and sendGeneralData of InternRequests type applyForIntern: function (name, comments = '') { return floCloudAPI.sendGeneralData([name, comments], "InternRequests") }, - +// take updates as function parameter, and return a promise that sends general data of type "InternUpdates" postInternUpdate: function (updates) { return new Promise((resolve, reject) => { floCloudAPI.sendGeneralData(updates, "InternUpdates") @@ -95,6 +96,7 @@ floCloudAPI.requestGeneralData("type1", { senderIDs: floGlobals.subAdmins }) * floGlobals usage from RIBC dApp ``` + floGlobals.generalVC["{\"application\":\"RIBC\",\"type\":\"InternUpdates\"}"] = '1640106537305_FSdjJCJdU43a1dyWY6dRES1ekoupEjFPqQ'