Skip to content

Commit

Permalink
Purge stale cache entries for SpaceDock
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Aug 28, 2019
1 parent 9da096b commit 081d4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Netkan/Sources/Spacedock/SDVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class SDVersion
public KspVersion KSP_version;

public string changelog;
public DateTime? created;

[JsonConverter(typeof(JsonConvertFromRelativeSdUri))]
public Uri download_path;
Expand Down
1 change: 1 addition & 0 deletions Netkan/Transformers/SpacedockTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ private Metadata TransformOne(Metadata metadata, JObject json, SpacedockMod sdMo
json.SafeAdd("abstract", sdMod.short_description);
json.SafeAdd("version", latestVersion.friendly_version.ToString());
json.SafeAdd("download", latestVersion.download_path.OriginalString);
json.SafeAdd(Model.Metadata.UpdatedPropertyName, latestVersion.created);

var authors = GetAuthors(sdMod);

Expand Down

0 comments on commit 081d4d3

Please sign in to comment.