chore: remove leftover console.log in inventoryController (#569)

This commit is contained in:
Sainan 2024-10-19 13:45:06 +02:00 committed by GitHub
parent 1a029ebb4b
commit 1b95186ab8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,6 @@ const inventoryController: RequestHandler = async (request, response) => {
//TODO: make a function that converts from database representation to client //TODO: make a function that converts from database representation to client
const inventoryJSON: IInventoryDatabase = inventory.toJSON(); const inventoryJSON: IInventoryDatabase = inventory.toJSON();
console.log(inventoryJSON.Ships);
const inventoryResponse = toInventoryResponse(inventoryJSON); const inventoryResponse = toInventoryResponse(inventoryJSON);