Skip to content

Commit bbd4fc4

Browse files
AlmightyMikkelkirre-bylund
authored andcommitted
Using feedback type instead of string for entity
1 parent ce1b49d commit bbd4fc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5440,7 +5440,7 @@ private static void SendFeedback(LootLockerFeedbackTypes type, string ulid, stri
54405440

54415441
var request = new LootLockerFeedbackRequest
54425442
{
5443-
entity = type.ToString(),
5443+
entity = type,
54445444
entity_id = ulid,
54455445
description = description,
54465446
category_id = category_id

Runtime/Game/Requests/FeedbackRequests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public class LootLockerFeedbackCategory
4949
public class LootLockerFeedbackRequest
5050
{
5151
/// <summary>
52-
/// A string representation of the type of feedback, use LootLockerFeedbackTypes.x.ToString()
52+
/// A string representation of the type of feedback
5353
/// </summary>
54-
public string entity { get; set; }
54+
public LootLockerFeedbackTypes entity { get; set; }
5555

5656
/// <summary>
5757
/// The Ulid of what you're sending feedback about

0 commit comments

Comments
 (0)