diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/FileRouter.ts | 2 | ||||
| -rw-r--r-- | src/matcher/options.ts | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts index bffc454..423c1a7 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -330,7 +330,7 @@ export class FileRouter { include: [ User ] - ).then((projects) => { + }).then((projects) => { res.json(projects.map<any>( (p: Project) => p.getProjectFullInfo() )); diff --git a/src/matcher/options.ts b/src/matcher/options.ts index c1d1aeb..9b07163 100644 --- a/src/matcher/options.ts +++ b/src/matcher/options.ts @@ -77,10 +77,10 @@ export function array(template: Object, values?: Array<Object>) { } const options = { - match = match, - exact = exact, - optional = optional, - alternative = alternative, - array = array + match : match, + exact : exact, + optional : optional, + alternative : alternative, + array : array }; export default options; |
