craftql icon indicating copy to clipboard operation
craftql copied to clipboard

Deprecation warning: The “sourceId” asset query param has been deprecated.

Open eivindml opened this issue 5 years ago • 0 comments

Craft gives a warning in the 'Deprecation Warnings' tab.

Deprecation warning: The “sourceId” asset query param has been deprecated. Use “volumeId” instead.

I tried to just replace sourceId with volumeId when fetching assets, but that doesn't work. Ideally I could just fetch assets from a given volume based on the handle for the volume, but can't figure out a way to do this either.

How should this be solved?

skjermbilde 2019-03-02 kl 19 30 34

eivindml avatar Mar 02 '19 18:03 eivindml