From c2ca26a918b7054199234e8459d84ee2fd260759 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Tue, 30 Sep 2025 21:50:36 -0700 Subject: Allow appending to notes Right now it's n^2 which is a big problem (to be fixed later) --- internal/api/errorcode_string.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'internal/api/errorcode_string.go') diff --git a/internal/api/errorcode_string.go b/internal/api/errorcode_string.go index 2b4a294..5ff2ff0 100644 --- a/internal/api/errorcode_string.go +++ b/internal/api/errorcode_string.go @@ -12,13 +12,14 @@ func _() { _ = x[Unauthenticated-1] _ = x[PermissionDenied-2] _ = x[BadRequest-3] - _ = x[NotFound-4] - _ = x[Internal-5] + _ = x[InvalidArgument-4] + _ = x[NotFound-5] + _ = x[Internal-6] } -const _ErrorCode_name = "OkUnauthenticatedPermissionDeniedBadRequestNotFoundInternal" +const _ErrorCode_name = "OkUnauthenticatedPermissionDeniedBadRequestInvalidArgumentNotFoundInternal" -var _ErrorCode_index = [...]uint8{0, 2, 17, 33, 43, 51, 59} +var _ErrorCode_index = [...]uint8{0, 2, 17, 33, 43, 58, 66, 74} func (i ErrorCode) String() string { if i < 0 || i >= ErrorCode(len(_ErrorCode_index)-1) { -- cgit v1.3.1