Skip to content

Commit 9e48065

Browse files
fixed changes
1 parent 5b4da8c commit 9e48065

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/SocketLabs/InjectionApi/SendResponse.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ public string ResponseMessage
9898
return "No valid message body was found in the message";
9999

100100
case SendResult.InvalidTemplateId:
101-
return "MetadataOrTagsAreTooLarge => “Metadata and tags exceed 12.5KB";
101+
return "An invalid TemplateId was found in the message";
102+
103+
case SendResult.MetadataOrTagsAreTooLarge:
104+
return "Metadata and tags exceed 12.5KB";
102105

103106
case SendResult.TemplateHasNoContent:
104107
return "The specified TemplateId has no content for the message";

src/SocketLabs/InjectionApi/SendResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,7 @@ public enum SendResult
194194
/// Invalid metadata found
195195
/// </summary>
196196
MessageValidationInvalidMetadata,
197+
/** Metadata and tags exceed 12.5KB */
198+
MetadataOrTagsAreTooLarge
197199
}
198200
}

0 commit comments

Comments
 (0)