oops
This commit is contained in:
parent
c377553ac7
commit
f5f7ceb66b
@ -41,8 +41,8 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
|
||||
|
||||
// Get 'geo' parameter
|
||||
const [geo, geoErr] = $(params.geo).optional.nullable.strict.object()
|
||||
.have('latitude', $().number().range(-180, 180))
|
||||
.have('longitude', $().number().range(-90, 90))
|
||||
.have('latitude', $().number().range(-90, 90))
|
||||
.have('longitude', $().number().range(-180, 180))
|
||||
.have('altitude', $().nullable.number())
|
||||
.have('accuracy', $().nullable.number())
|
||||
.have('altitudeAccuracy', $().nullable.number())
|
||||
|
@ -140,12 +140,12 @@ props:
|
||||
type: "number"
|
||||
optional: false
|
||||
desc:
|
||||
ja: "緯度。-180〜180で表す。"
|
||||
ja: "緯度。-90〜90で表す。"
|
||||
- name: "longitude"
|
||||
type: "number"
|
||||
optional: false
|
||||
desc:
|
||||
ja: "経度。-90〜90で表す。"
|
||||
ja: "経度。-180〜180で表す。"
|
||||
- name: "altitude"
|
||||
type: "number"
|
||||
optional: false
|
||||
|
Loading…
Reference in New Issue
Block a user