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