aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Harley2018-02-09 16:17:35 +0000
committerTom Harley2018-02-09 16:17:35 +0000
commit3b4320c569dbf962af8a35ca0f16519a1de128db (patch)
tree1ca45a02189ae592095d92de406fa0b6bb12499e /src
parentvarious work I forgot to commit (diff)
downloadmedicine-3b4320c569dbf962af8a35ca0f16519a1de128db.tar.gz
medicine-3b4320c569dbf962af8a35ca0f16519a1de128db.zip

minor fixes

Diffstat (limited to 'src')
-rw-r--r--src/FileRouter.ts2
-rw-r--r--src/matcher/options.ts10
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;