mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-17 13:24:56 +00:00
Commit from GitHub Actions (Publish APIs & Clients)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -61,5 +61,5 @@
|
||||
},
|
||||
"type": "module",
|
||||
"types": "dist/index.d.ts",
|
||||
"version": "1.0.527"
|
||||
"version": "1.0.528"
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user