implement user_permission

This commit is contained in:
2025-02-01 03:04:52 -06:00
parent 72414bc8fb
commit d58c69cb08
6 changed files with 41 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ func (h *NkodeHandler) CreateNewCustomerHandler(c *gin.Context) {
return
}
h.Logger.Println("create new customer")
c.JSON(200, gin.H{"customer_id": entities.CustomerIdToString(*customerId)})
c.JSON(200, gin.H{"customer_id": customerId.String()})
}
func (h *NkodeHandler) SignupHandler(c *gin.Context) {