Embed question verification references
This commit is contained in:
@@ -21,6 +21,7 @@ public class QuestionResponse
|
||||
public List<QuestionLab> Labs { get; set; } = [];
|
||||
public List<string> Media { get; set; } = [];
|
||||
public List<string> Tags { get; set; } = [];
|
||||
public List<QuestionReference> References { get; set; } = [];
|
||||
|
||||
public static QuestionResponse FromModel(
|
||||
Question question,
|
||||
@@ -56,7 +57,8 @@ public class QuestionResponse
|
||||
QuestionElo = questionElo,
|
||||
Labs = question.Labs,
|
||||
Media = question.Media,
|
||||
Tags = question.Tags
|
||||
Tags = question.Tags,
|
||||
References = question.References
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user