move requestclient credentials to env

main
alex 2023-09-13 19:54:22 +02:00
parent e75988106a
commit d35ed4f181
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func CreateEquipmentDocumentation(c *fiber.Ctx, body structs.CreateEquipmentDocu
database.DB.Create(&newEquipmentDocumentation)
logger.AddSystemLog("User %s has created the equipment document %s for the stock item %s with the title %s type %s description %s",
logger.AddSystemLog("User %s has created the equipment document %s for the stock item %s with the title %s type %v description %s",
userId, newEquipmentDocumentation.Id, newEquipmentDocumentation.StockItemId, body.Title, body.Type, string(marshaledNotes))
return c.JSON(fiber.Map{"message": "ok"})