@@ -80,7 +80,7 @@ public Feed GetFeed(string feedId) =>
80
80
public async Task < Feed > GetFeedAsync ( string feedId )
81
81
{
82
82
await CreateAuthorizedRequestAsync ( FeedsApiUrls . GetFeed ( feedId ) , RestSharp . Method . Get ) ;
83
- var response = await ExecuteRequestAsync < Feed > ( RateLimitType . Feed_CreateFeed ) ;
83
+ var response = await ExecuteRequestAsync < Feed > ( RateLimitType . Feed_GetFeed ) ;
84
84
if ( response != null )
85
85
return response ;
86
86
return null ;
@@ -144,7 +144,7 @@ public async Task<ProcessingReportMessage> GetFeedDocumentProcessingReportAsync(
144
144
}
145
145
return processingReport ;
146
146
}
147
-
147
+
148
148
public ProcessingReportMessage GetFeedDocumentProcessingReport ( FeedDocument feedDocument ) =>
149
149
Task . Run ( ( ) => GetFeedDocumentProcessingReportAsync ( feedDocument ) ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
150
150
@@ -156,7 +156,7 @@ public async Task<ProcessingReportMessage> GetFeedDocumentProcessingReportAsync(
156
156
{
157
157
var stream = await GetStreamFromUrlAsync ( feedDocument . Url ) ;
158
158
if ( feedDocument . CompressionAlgorithm . HasValue && ( feedDocument . CompressionAlgorithm . Value == FeedDocument . CompressionAlgorithmEnum . GZIP ) )
159
- stream = new System . IO . Compression . GZipStream ( stream , System . IO . Compression . CompressionMode . Decompress ) ;
159
+ stream = new System . IO . Compression . GZipStream ( stream , System . IO . Compression . CompressionMode . Decompress ) ;
160
160
var xmlSerializer = new System . Xml . Serialization . XmlSerializer ( typeof ( FeedAmazonEnvelope ) ) ;
161
161
FeedAmazonEnvelope response = null ;
162
162
@@ -212,7 +212,7 @@ public async Task<string> SubmitFeedAsync(string feedContentOrFilePath, FeedType
212
212
213
213
//Uploading encoded invoice file
214
214
_ = await PostFileDataAsync ( feedCreate . Url , feedContentOrFilePath , contentType ) ;
215
-
215
+
216
216
CreateFeedSpecification createFeedSpecification = new CreateFeedSpecification ( )
217
217
{
218
218
FeedType = feedType . ToString ( ) ,
0 commit comments