mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 05:55:19 +00:00
Commit from GitHub Actions (Publish APIs & Clients)
This commit is contained in:
@@ -16,7 +16,7 @@ type FunctionService struct {
|
||||
client *client.Client
|
||||
}
|
||||
|
||||
// Call a function
|
||||
// Call a function by name
|
||||
func (t *FunctionService) Call(request *CallRequest) (*CallResponse, error) {
|
||||
rsp := &CallResponse{}
|
||||
return rsp, t.client.Call("function", "Call", request, rsp)
|
||||
|
||||
@@ -6,7 +6,7 @@ export class FunctionService {
|
||||
constructor(token: string) {
|
||||
this.client = new m3o.Client({ token: token });
|
||||
}
|
||||
// Call a function
|
||||
// Call a function by name
|
||||
call(request: CallRequest): Promise<CallResponse> {
|
||||
return this.client.call(
|
||||
"function",
|
||||
|
||||
Reference in New Issue
Block a user