wip
This commit is contained in:
parent
8ef066adda
commit
1af3c42001
5 changed files with 235 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ export default (endpoint: string | Endpoint, user: IUser, app: IApp, data: any,
|
|||
|
||||
const ep = typeof endpoint == 'string' ? endpoints.find(e => e.name == endpoint) : endpoint;
|
||||
|
||||
if (ep.name.includes('.') {
|
||||
if (ep.name.includes('.')) {
|
||||
return rej('INVALID_ENDPOINT');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue