Fix reviews not showing up (#397)

This commit is contained in:
Josh 2022-08-02 17:22:16 -05:00 committed by GitHub
commit 00f8d32a54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ public class Review
_ => "none",
};
string reviewData = LbpSerializer.TaggedStringElement("slot_id", this.SlotId, "type", this.Slot?.Type) +
string reviewData = LbpSerializer.TaggedStringElement("slot_id", this.SlotId, "type", this.Slot?.Type.ToString().ToLower()) +
LbpSerializer.StringElement("reviewer", this.Reviewer?.Username) +
LbpSerializer.StringElement("thumb", this.Thumb) +
LbpSerializer.StringElement("timestamp", this.Timestamp) +