restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
922 stars 138 forks source link

Return empty array if there are no objects to list #239

Closed MichaelEischer closed 1 year ago

MichaelEischer commented 1 year ago

What is the purpose of this change? What does it change?

Previously "null" was returned, which does not match the REST backend specification.

Was the change discussed in an issue or in the forum before?

Fixes #238

Checklist

MichaelEischer commented 1 year ago

LGTM.