From df2f210966167b04a8848b80d96ac46d440318f7 Mon Sep 17 00:00:00 2001 From: VampireKitten Date: Mon, 14 Oct 2024 14:57:37 +0200 Subject: [PATCH] Fix prettier error? --- src/controllers/api/inventoryController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 4f7523db..8ff1411a 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -110,7 +110,7 @@ const inventoryController: RequestHandler = async (request, response) => { i++; inventoryResponse.WeaponSkins.push({ ItemId: { - $oid: (i).toString().padStart(24, '0') + $oid: i.toString().padStart(24, "0") }, ItemType: uniqueName });