From 9639e2fb7eb7c11dcdd774eba4a207e2cf80be96 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Wed, 9 Dec 2015 16:09:36 -0800 Subject: [PATCH] Fix #49 as LiveJournal API returning invalid arg for "0" value on Gallery security setting. Changed to 255 (public) per documentation --- .../OpenLiveWriter.BlogClient/Clients/LiveJournalClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managed/OpenLiveWriter.BlogClient/Clients/LiveJournalClient.cs b/src/managed/OpenLiveWriter.BlogClient/Clients/LiveJournalClient.cs index 4d4d6624..e2e08314 100644 --- a/src/managed/OpenLiveWriter.BlogClient/Clients/LiveJournalClient.cs +++ b/src/managed/OpenLiveWriter.BlogClient/Clients/LiveJournalClient.cs @@ -216,7 +216,7 @@ namespace OpenLiveWriter.BlogClient.Clients "UploadPic.Meta.Filename", uploadContext.FormatFileName(uploadContext.PreferredFileName), "UploadPic.Gallery._size", "1", "UploadPic.Gallery.0.GalName", ApplicationEnvironment.ProductName, - "UploadPic.Gallery.0.GalSec", "0"); + "UploadPic.Gallery.0.GalSec", "255"); } XmlNode picUrlNode = doc.SelectSingleNode("/FBResponse/UploadPicResponse/URL");