Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Minor clean / tidying up the code #113

Merged
merged 3 commits into from
Sep 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
coder-sdk: remove spurious JSON tag
  • Loading branch information
alrs committed Sep 13, 2020
commit ad7814248267ce87930e757cc9a5dc6f5e625e1f
2 changes: 1 addition & 1 deletion coder-sdk/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var ErrNotFound = xerrors.Errorf("resource not found")

type apiError struct {
Err struct {
Msg string `json:"msg,required"`
Msg string `json:"msg"`
} `json:"error"`
}

Expand Down