mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
Change build setup of JS clients, reintroduce beta publishing after losing it due to unmerged code (#238)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as fx from "m3o/function";
|
||||
const { FunctionService } = require("m3o/function");
|
||||
|
||||
//
|
||||
async function DescribeFunctionStatus() {
|
||||
let functionService = new fx.FunctionService(process.env.MICRO_API_TOKEN);
|
||||
async function describeFunctionStatus() {
|
||||
let functionService = new FunctionService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await functionService.describe({
|
||||
name: "my-first-func",
|
||||
project: "tests",
|
||||
@@ -10,4 +10,4 @@ async function DescribeFunctionStatus() {
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await DescribeFunctionStatus();
|
||||
describeFunctionStatus();
|
||||
|
||||
Reference in New Issue
Block a user