updates
This commit is contained in:
+4
-2
@@ -31,7 +31,7 @@ const https = require("https");
|
||||
*
|
||||
* @returns { Promise<GetReturn> } - Return Object
|
||||
*/
|
||||
module.exports = async function ({ key, db, query }) {
|
||||
async function get({ key, db, query }) {
|
||||
/**
|
||||
* Make https request
|
||||
*
|
||||
@@ -83,8 +83,10 @@ module.exports = async function ({ key, db, query }) {
|
||||
/** ********************************************** */
|
||||
|
||||
return httpResponse;
|
||||
};
|
||||
}
|
||||
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
|
||||
module.exports = get;
|
||||
|
||||
+4
-2
@@ -42,7 +42,7 @@ const https = require("https");
|
||||
*
|
||||
* @returns { Promise<PostReturn> } - Return Object
|
||||
*/
|
||||
module.exports = async function ({ key, query, database }) {
|
||||
async function post({ key, query, database }) {
|
||||
/**
|
||||
* Make https request
|
||||
*
|
||||
@@ -133,8 +133,10 @@ module.exports = async function ({ key, query, database }) {
|
||||
/** ********************************************** */
|
||||
|
||||
return httpResponse;
|
||||
};
|
||||
}
|
||||
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
|
||||
module.exports = post;
|
||||
|
||||
@@ -39,7 +39,7 @@ const https = require("https");
|
||||
*
|
||||
* @returns { Promise<FunctionReturn> } - Return Object
|
||||
*/
|
||||
module.exports = async function ({ key, payload }) {
|
||||
async function uploadImage({ key, payload }) {
|
||||
/**
|
||||
* Make https request
|
||||
*
|
||||
@@ -92,8 +92,10 @@ module.exports = async function ({ key, payload }) {
|
||||
/** ********************************************** */
|
||||
|
||||
return httpResponse;
|
||||
};
|
||||
}
|
||||
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
/** ********************************************** */
|
||||
|
||||
module.exports = uploadImage;
|
||||
|
||||
Reference in New Issue
Block a user