Commit 45570e82 authored by soheib's avatar soheib
Browse files

update result schema

parent 34a84516
...@@ -17,9 +17,6 @@ export class Result { ...@@ -17,9 +17,6 @@ export class Result {
@Prop() @Prop()
pending_mentions: number; pending_mentions: number;
@Prop()
score: number;
@Prop() @Prop()
valid_users: Array<string>; valid_users: Array<string>;
...@@ -28,5 +25,11 @@ export class Result { ...@@ -28,5 +25,11 @@ export class Result {
@Prop() @Prop()
pending_users: Array<string>; pending_users: Array<string>;
@Prop()
likes: number
@Prop()
score: number;
} }
export const ResultSchema = SchemaFactory.createForClass(Result); export const ResultSchema = SchemaFactory.createForClass(Result);
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