ayon-backend icon indicating copy to clipboard operation
ayon-backend copied to clipboard

Do not return empty site root overrides

Open martastain opened this issue 1 year ago • 1 comments

PR Checklist

  • [x] This comment contains a description of changes
  • [x] Referenced issue is linked

Description of changes

When using api/projects/{project_name}/roots endpoint (GET/PUT), empty values (nulls or empty strings) are no longer returned. When no override is present, exclude that root (or site) from the result.

martastain avatar May 09 '24 13:05 martastain

/roots endpoint is returning empty dict for no overrides/removed overrides correctly. image

But I would expect siteRoots to pick values from Anatomy (for particular site) and it doesn't: image

kalisp avatar May 10 '24 09:05 kalisp