Update ValidateLists.cs

This commit is contained in:
Timothy Baldridge 2022-04-18 11:28:33 -06:00 committed by GitHub
parent 84c135c862
commit 36aa176142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ public class ValidateLists : IVerb
formData.Add(new StringContent(metadata.Description), "description");
formData.Add(new StringContent((metadata.Version ?? Version.Parse("0.0.0.0")).ToString()), "version");
formData.Add(new StringContent("0"), "is_private");
formData.Add(new StringContent("1hr"), "expires_at");
formData.Add(new StringContent("perm"), "expires_at");
if (modListData.Website != null)
{
formData.Add(new StringContent(modListData.Website!.ToString()), "website");