diff options
| author | Tom Harley | 2018-02-09 16:17:35 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-02-09 16:17:35 +0000 |
| commit | 3b4320c569dbf962af8a35ca0f16519a1de128db (patch) | |
| tree | 1ca45a02189ae592095d92de406fa0b6bb12499e | |
| parent | various work I forgot to commit (diff) | |
| download | medicine-3b4320c569dbf962af8a35ca0f16519a1de128db.tar.gz medicine-3b4320c569dbf962af8a35ca0f16519a1de128db.zip | |
minor fixes
| -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; |
