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

update result schema

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