From 0d77071225d8575ace89cbe38c6c06fa94d7696b Mon Sep 17 00:00:00 2001 From: Julien Tant Date: Wed, 12 Mar 2025 10:28:49 -0700 Subject: [PATCH] err->appErr --- server/channels/api4/custom_profile_attributes_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/channels/api4/custom_profile_attributes_test.go b/server/channels/api4/custom_profile_attributes_test.go index c1604328b8f..f4de9990e94 100644 --- a/server/channels/api4/custom_profile_attributes_test.go +++ b/server/channels/api4/custom_profile_attributes_test.go @@ -107,8 +107,8 @@ func TestListCPAFields(t *testing.T) { }) require.NoError(t, err) - createdField, err := th.App.CreateCPAField(field) - require.Nil(t, err) + createdField, appErr := th.App.CreateCPAField(field) + require.Nil(t, appErr) require.NotNil(t, createdField) t.Run("endpoint should not work if no valid license is present", func(t *testing.T) {