File tree 2 files changed +0
-18
lines changed
2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -194,24 +194,11 @@ public Task<IPAddressAsnInfoModel> GetIPAddressAsnInfoAsync()
194
194
public Task < GetUrlsResponse > WhitelistGetUrls ( GetUrlsRequest request )
195
195
{
196
196
var id = string . IsNullOrWhiteSpace ( request . Id ) ? null : "id=" + HttpUtility . UrlEncode ( request . Id ) ;
197
- var timestamp = request . Timestamp is null ? null : "timestamp=" + HttpUtility . UrlEncode ( request . Timestamp . Value . ToString ( "o" ) ) ;
198
197
var query = string . Empty ;
199
198
if ( id is not null )
200
199
{
201
200
query = "?" + id ;
202
201
}
203
- if ( timestamp is not null )
204
- {
205
- if ( query is null )
206
- {
207
- query = "?" ;
208
- }
209
- else
210
- {
211
- query += "&" ;
212
- }
213
- query += timestamp ;
214
- }
215
202
return MakeRequestAsync < GetUrlsResponse > ( $ "aw/urls{ query } ") ;
216
203
}
217
204
Original file line number Diff line number Diff line change @@ -29,10 +29,5 @@ public sealed class GetUrlsRequest
29
29
/// Id of the url to get or null/empty for no id filter
30
30
/// </summary>
31
31
public string Id { get ; set ; }
32
-
33
- /// <summary>
34
- /// Only get urls beyond this timestamp, or null for no timestamp filter
35
- /// </summary>
36
- public DateTime ? Timestamp { get ; set ; }
37
32
}
38
33
}
You can’t perform that action at this time.
0 commit comments