Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-11 12:57:40 +00:00
parent 6713c12477
commit 4b9902a2e4
8 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ import (
"os"
)
//
// List all the deployed functions
func ListFunctions() {
functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := functionService.List(&function.ListRequest{})

View File

@@ -1,6 +1,6 @@
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({});