Commit 476384c7 authored by velayat's avatar velayat
Browse files

add last update

parent b0d76b3b
...@@ -504,7 +504,8 @@ export class AppService implements OnApplicationBootstrap { ...@@ -504,7 +504,8 @@ export class AppService implements OnApplicationBootstrap {
(response.before_mentions = userRes.mentions_before), (response.before_mentions = userRes.mentions_before),
(response.followed_before_mentions = userRes.followed_before), (response.followed_before_mentions = userRes.followed_before),
(response.pending_mentions = userRes.pending_mentions), (response.pending_mentions = userRes.pending_mentions),
(response.score = userRes.score); (response.last_update = userRes['updatedAt']),
(response.score = userRes.score);
userIndexs.forEach((index) => { userIndexs.forEach((index) => {
response.lottory_chances_codes.push(index.index.toString()); response.lottory_chances_codes.push(index.index.toString());
}); });
...@@ -574,6 +575,7 @@ export class AppService implements OnApplicationBootstrap { ...@@ -574,6 +575,7 @@ export class AppService implements OnApplicationBootstrap {
} }
export class ResultResponse { export class ResultResponse {
last_update: Date;
username: string; username: string;
valid_mentions: number; valid_mentions: number;
followed_before_mentions: number; followed_before_mentions: number;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment