diff --git a/pygeoapi/provider/tinydb_.py b/pygeoapi/provider/tinydb_.py index 00ab56e..12cb17a 100644 --- a/pygeoapi/provider/tinydb_.py +++ b/pygeoapi/provider/tinydb_.py @@ -65,7 +65,7 @@ class TinyDBCatalogueProvider(BaseProvider): LOGGER.error(msg) raise ProviderConnectionError(msg) - self.db = TinyDB(self.data) + self.db = TinyDB(self.data, access_mode="r") self.fields = self.get_fields()