From bc32ffa37db18b0d9a9ba6a9614968ccf7fba56d Mon Sep 17 00:00:00 2001 From: Russell Cloran Date: Tue, 2 May 2023 10:57:37 -0700 Subject: [PATCH] Fix initial sync after setup --- lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua b/lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua index e9dcc8e..01c4b38 100644 --- a/lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua +++ b/lr-inaturalist-publish.lrdevplugin/ExportServiceProvider.lua @@ -613,7 +613,10 @@ function exportServiceProvider.goToPublishedCollection(publishSettings, _) LrHttp.openUrlInBrowser("https://www.inaturalist.org/observations/" .. publishSettings.login) end -function exportServiceProvider.didCreateNewPublishService(publishSettings, _) +function exportServiceProvider.didCreateNewPublishService(publishSettings, info) + -- Emulates the setup we have when editing config + publishSettings.LR_publishService = info.publishService + local f = LrView.osFactory() local mainMsg = "This will take some time." if publishSettings.syncOnPublish then