Fix in IPGeocode (download, and fallback). Schema improvements
This commit is contained in:
parent
67a2dfbd42
commit
df05b33e82
6 changed files with 77 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/* eslint-disable consistent-return */
|
||||
/* eslint-disable import/no-absolute-path */
|
||||
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import SimpleSchema from 'simpl-schema';
|
||||
import { defaultCreatedAt, defaultUpdateAt } from '/imports/api/Utility/Utils.js';
|
||||
|
|
@ -105,7 +106,7 @@ const schemaUser = new SimpleSchema({
|
|||
'name.first': String,
|
||||
'name.last': String, */
|
||||
lang: { type: String, optional: true },
|
||||
telegramChatId: { type: Number, optional: true },
|
||||
telegramChatId: { type: SimpleSchema.Integer, optional: true },
|
||||
telegramUsername: { type: String, optional: true },
|
||||
telegramFirstName: { type: String, optional: true },
|
||||
telegramLanguageCode: { type: String, optional: true },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue