This commit is contained in:
syuilo
2018-07-11 14:03:21 +09:00
parent 8ef066adda
commit 1af3c42001
5 changed files with 235 additions and 8 deletions

View File

@@ -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');
}