Use const instead of free string

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-30 22:45:45 +01:00
parent 379a9aa0fe
commit 70b221e3bd

View File

@@ -1123,7 +1123,7 @@ func (r *mutationResolver) CreateOrganization(ctx context.Context, input types.C
ctx,
currentUser.ID,
organization.ID,
"MEMBER",
coredata.RoleMember,
)
if err != nil {
return nil, fmt.Errorf("cannot add user to organization: %w", err)