mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
11 lines
280 B
JavaScript
Executable File
11 lines
280 B
JavaScript
Executable File
const { FunctionService } = require("m3o/function");
|
|
|
|
// List all the deployed functions
|
|
async function listFunctions() {
|
|
let functionService = new FunctionService(process.env.MICRO_API_TOKEN);
|
|
let rsp = await functionService.list({});
|
|
console.log(rsp);
|
|
}
|
|
|
|
listFunctions();
|