Skip to content

Commit 83fe4ab

Browse files
committed
Fix casing of types
1 parent cc75775 commit 83fe4ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Aeon-ArchivesSpace-Addon/Aeon-ArchivesSpace.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ function SendApiRequest(apiPath, method, parameters, authToken)
762762
LogDebug('apiPath: ' .. apiPath);
763763

764764
local webClient = types["System.Net.WebClient"]();
765-
webClient.Encoding = Types["System.Text.Encoding"].UTF8;
765+
webClient.Encoding = types["System.Text.Encoding"].UTF8;
766766
webClient.Headers:Clear();
767767
-- Add a user-agent for the API request to support ArchivesSpace API hosted by Lyrasis
768768
webClient.Headers:Add("user-agent", "AtlasAeon/" .. Version());

0 commit comments

Comments
 (0)