repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use same lock values as mobile clients
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
api
/
core
/
validate.ts
blob
51ca9272e653d668bc81ea4450aa0d98c5b4fc64
1
export const validateEmail = (Email: string) => ({
2
method: 'post',
3
url: 'core/v4/validate/email',
4
data: { Email },
5
});
6
7
export const validatePhone = (Phone: string) => ({
8
method: 'post',
9
url: 'core/v4/validate/phone',
10
data: { Phone },
11
});