feat(api): Add compatibility layer for API v1
This commit is contained in:
1 parent
82f252f32f
commit
ad1a9364b8
6 files changed
+8624
-10
No files matched your search
@@ -39,3 +39,13 @@ type TimesResult struct {
|
||||
Location Location `json:"location"`
|
||||
Times []Times `json:"prayertimes"`
|
||||
}
|
||||
|
||||
type LegacyLocation struct {
|
||||
ID int
|
||||
Country string
|
||||
City string
|
||||
Region string
|
||||
Latitude float64
|
||||
Longitude float64
|
||||
Timezone string
|
||||
}
|
||||
Reference in new issue
Block a user