Files
2026-07-06 14:01:11 -04:00

11 lines
344 B
Lua

local PurchaseError = require(script.Parent.Parent.PurchaseError)
local Promise = require(script.Parent.Parent.Promise)
local function getProductInfo(network, id, infoType)
return network.getProductInfo(id, infoType)
:catch(function(failure)
return Promise.reject(PurchaseError.UnknownFailureNoItemName)
end)
end
return getProductInfo