Skip to content

Commit

Permalink
Hotfix in doPostRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
bmachek committed Sep 3, 2024
1 parent 7ba8884 commit 631d21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion immich-plugin.lrplugin/ImmichAPI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ function ImmichAPI:doPostRequest(apiPath, postBody)
end

log:trace('ImmichAPI: Preparing POST request ' .. apiPath)
if not postBody ~= nil then
if postBody ~= nil then
log:trace('ImmichAPI: Postbody ' .. JSON:encode(postBody))
end
local response, headers = LrHttp.post(self.url .. self.apiBasePath .. apiPath, JSON:encode(postBody),
Expand Down

0 comments on commit 631d21b

Please sign in to comment.