Skip to content

Commit b889d60

Browse files
authored
Merge pull request #1 from RenzoF/RenzoF-patch-1
Added support for JSON content type
2 parents ce71bd2 + 7cfdcc9 commit b889d60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/FikaAmazonAPI/Services/FeedService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ public async Task<string> SubmitFeedAsync(string XmlContentOrFilePath, FeedType
182182
{
183183
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);
184184
}
185+
else if (contentType == ContentType.JSON)
186+
{
187+
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);
188+
}
185189
else if (contentType == ContentType.TXT)
186190
{
187191
_ = await PostFileDataAsync(feedCreate.Url, XmlContentOrFilePath, contentType);

0 commit comments

Comments
 (0)