Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-09-22 19:20:19 +00:00
parent 2d702178d3
commit 77c32acee8
9 changed files with 44 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ type PrayerService struct {
client *client.Client
}
//
// Get the prayer (salah) times for a location on a given date
func (t *PrayerService) Times(request *TimesRequest) (*TimesResponse, error) {
rsp := &TimesResponse{}
return rsp, t.client.Call("prayer", "Times", request, rsp)

View File

@@ -61,5 +61,5 @@
},
"type": "module",
"types": "dist/index.d.ts",
"version": "1.0.527"
"version": "1.0.528"
}

View File

@@ -6,7 +6,7 @@ export class PrayerService {
constructor(token: string) {
this.client = new m3o.Client({ token: token });
}
//
// Get the prayer (salah) times for a location on a given date
times(request: TimesRequest): Promise<TimesResponse> {
return this.client.call(
"prayer",