Frontify / frontify-aem-connector

Frontify Adobe Experience Manager
MIT License
4 stars 4 forks source link

Fix usage of deprecated projects API to retrieve library id #46

Closed nhirrle closed 1 year ago

nhirrle commented 1 year ago

Fix usage of deprecated projects API to retrieve library id.

Issue is in file: ffy-dam-author-panel.js line: 180

We are still using the deprecated projects field, which we will remove shortly. The query will need to be updated as following:

(...)
  brands {
    id
    projects {
      __typename
      ... on Library {
        id
      }
    }
  }
(...)

To
(...)
  brands {
    id
    libraries(limit: 100, page: 1) {
      items {
        id
      }
    }
  }
(...)