Skip to content

Commit

Permalink
update basic response to be global
Browse files Browse the repository at this point in the history
  • Loading branch information
aidantrabs committed Dec 21, 2024
1 parent b126bc9 commit c2819bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/internal/v1/v1_common/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v1_common
/*
Use this for any json response that just needs a simple message field.
*/
type basicResponse struct {
type BasicResponse struct {
Message string `json:"message"`
}

Expand All @@ -16,6 +16,6 @@ type APIError struct {
Type ErrorType `json:"type"`
Message string `json:"message"`
Details string `json:"details,omitempty"`
RequestID string `json:"request_id,omitempty`
RequestID string `json:"request_id,omitempty"`
Code int `json:"-"`
}

0 comments on commit c2819bb

Please sign in to comment.