Mail support
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Inventory API / deploy (push) Successful in 46s
Deploy Promiscuity Locations API / deploy (push) Successful in 1m0s
Deploy Promiscuity Mail API / deploy (push) Successful in 1m9s
k8s smoke test / test (push) Successful in 9s

This commit is contained in:
2026-03-23 20:18:23 -05:00
parent aa99788268
commit a8db66b93e
23 changed files with 1116 additions and 21 deletions
@@ -188,6 +188,23 @@ public class LocationsController : ControllerBase
return BadRequest("Location object type is not supported");
if (interact.Status == InteractStatus.ObjectConsumed)
return Conflict("Location object is consumed");
if (string.Equals(interact.ObjectType, "mailbox", StringComparison.OrdinalIgnoreCase))
{
return Ok(new InteractLocationObjectResponse
{
LocationId = id,
CharacterId = req.CharacterId,
ObjectId = req.ObjectId,
ObjectType = interact.ObjectType,
ItemKey = string.Empty,
QuantityGranted = 0,
CharacterGrantedQuantity = 0,
FloorGrantedQuantity = 0,
RemainingQuantity = 0,
Consumed = false,
InventoryResponseJson = string.Empty
});
}
var inventoryBaseUrl = (_configuration["Services:InventoryApiBaseUrl"] ?? "http://localhost:5003").TrimEnd('/');
var token = Request.Headers.Authorization.ToString();