upstream sync

This commit is contained in:
Senad Uka
2023-10-19 07:57:48 +02:00
parent 5b1acd1c5f
commit 44efa194fc
5 changed files with 93 additions and 12 deletions

View File

@@ -248,7 +248,7 @@ func GetContractByID(c *gin.Context) {
}
// Fetch contract
contract, st, err := contract.GetContractByID(contractID)
contract, st, err := contract.GetContractByID(uint(contractID))
if err != nil {
c.JSON(st, gin.H{"error": err.Error()})
return