From d9625e0b7d5a41d993481b75f12067619b71a97b Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Tue, 2 Apr 2024 16:30:14 -0700 Subject: [PATCH] updated how the err response should look to follow a pattern --- api/domain/responses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/domain/responses.go b/api/domain/responses.go index b69a21d..6bc2658 100644 --- a/api/domain/responses.go +++ b/api/domain/responses.go @@ -1,7 +1,7 @@ package domain type ErrorResponse struct { - HttpCode int `json:"code"` + Success bool `json:"success"` Message string `json:"message"` }