Skip to content

Commit

Permalink
issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunkerti committed Apr 4, 2018
1 parent 43cc1a9 commit 698883a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion backend/src/main/scala/io/octopus/model/User.scala
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ class User {

@JsonProperty("stats")
@JsonSerialize
@Transient
def stats: UserStats = {
UserStats(tasks.size)
UserStats(if(tasks == null) 0 else tasks.size)
}
}
6 changes: 3 additions & 3 deletions backend/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Tue Apr 03 22:14:47 EET 2018
#Wed Apr 04 20:59:38 EET 2018
MAJOR=0
MINOR=12
VERSION_CODE=886
PATCH=94
VERSION_CODE=890
PATCH=98

0 comments on commit 698883a

Please sign in to comment.