@@ -29,8 +29,8 @@ buildSites.websiteList = {
2929}
3030
3131--- Uploads a PoB build code to a website
32- --- @param websiteInfo Table Contains the postUrl, any postParams , and a prefix to add to the response
33- --- @param buildCode String The build code that will be uploaded
32+ --- @param websiteInfo table Contains the postUrl, any postParams , and a prefix to add to the response
33+ --- @param buildCode string The build code that will be uploaded
3434function buildSites .UploadBuild (buildCode , websiteInfo )
3535 local response
3636 if websiteInfo then
@@ -69,9 +69,9 @@ function buildSites.UploadBuild(buildCode, websiteInfo)
6969end
7070
7171--- Downloads a PoB build code from a website
72- --- @param link String A link to the site that contains the link to the raw build code
73- --- @param websiteInfo Table Contains the downloadUrl
74- --- @param callback Function The function to call when the download is complete
72+ --- @param link string A link to the site that contains the link to the raw build code
73+ --- @param websiteInfo table ? Contains the downloadUrl
74+ --- @param callback function The function to call when the download is complete
7575function buildSites .DownloadBuild (link , websiteInfo , callback )
7676 local siteCodeURL
7777 -- Only called on program start via protocol handler
@@ -100,10 +100,10 @@ function buildSites.DownloadBuild(link, websiteInfo, callback)
100100end
101101
102102-- Parses and converts URI's to import links. Currently only supports protocol handler URI's, extend as needed.
103- -- @param uri String Example: pob://pobbin/<id> or pob://poeninja/<id>
103+ -- @param uri string Example: pob://pobbin/<id> or pob://poeninja/<id>
104104function buildSites .ParseImportLinkFromURI (uri )
105105 local importLink = nil
106-
106+
107107 -- Check if it's an URI from protocol handler
108108 for _ , siteInfo in ipairs (buildSites .websiteList ) do
109109 if uri :match (" ^pob:[/\\ ]*" .. siteInfo .id :lower () .. " [/\\ ]+(.+)" ) then
0 commit comments