move requestclient credentials to env
parent
e75988106a
commit
d35ed4f181
|
@ -105,7 +105,7 @@ func CreateEquipmentDocumentation(c *fiber.Ctx, body structs.CreateEquipmentDocu
|
||||||
|
|
||||||
database.DB.Create(&newEquipmentDocumentation)
|
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))
|
userId, newEquipmentDocumentation.Id, newEquipmentDocumentation.StockItemId, body.Title, body.Type, string(marshaledNotes))
|
||||||
|
|
||||||
return c.JSON(fiber.Map{"message": "ok"})
|
return c.JSON(fiber.Map{"message": "ok"})
|
||||||
|
|
Loading…
Reference in New Issue