aboutsummaryrefslogtreecommitdiff
path: root/src/db/model/Project.ts
diff options
context:
space:
mode:
authorTom Harley2018-03-29 08:32:54 +0100
committerTom Harley2018-03-29 08:32:54 +0100
commit8f39a1403d3c94f3d51693e41843750352408cba (patch)
tree4833fd458e1d8590d798b8d1ede14bfb487aadea /src/db/model/Project.ts
parentMerge branch 'testing-middleware' into development (diff)
downloadmedicine-8f39a1403d3c94f3d51693e41843750352408cba.tar.gz
medicine-8f39a1403d3c94f3d51693e41843750352408cba.zip

Address numerous errors in test suites

Many errors still remian.

Diffstat (limited to 'src/db/model/Project.ts')
-rw-r--r--src/db/model/Project.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/db/model/Project.ts b/src/db/model/Project.ts
index 3618f03..d57eaaa 100644
--- a/src/db/model/Project.ts
+++ b/src/db/model/Project.ts
@@ -107,9 +107,7 @@ export default class Project extends Model<Project> {
return {
project_name: this.name,
users: this.contributors
- .map<UserInfo>(
- (u: User) => this.getUserInfo(u)
- ),
+ .map((u: User): UserInfo => this.getUserInfo(u)),
public_metadata: {
creation_date: this.creationDate
},