Skip to content

Commit fa544dd

Browse files
committed
update error message
1 parent b12ed2b commit fa544dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/shared/types/permissions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func StringToAppCollaboratorPermission(input string) (AppCollaboratorPermission,
3737
case "reader":
3838
return READER, nil
3939
default:
40-
return "", fmt.Errorf("invalid")
40+
return "", fmt.Errorf("invalid permission; accepted values are \"owner\" or \"reader\"")
4141
}
4242
}
4343

0 commit comments

Comments
 (0)