@stemy/backend 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1093,7 +1093,7 @@ let Assets = class Assets {
|
|
|
1093
1093
|
this.connector = connector;
|
|
1094
1094
|
this.assetProcessor = assetProcessor;
|
|
1095
1095
|
this.driver = driver;
|
|
1096
|
-
this.collection = connector.database?.collection(
|
|
1096
|
+
this.collection = connector.database?.collection("assets.metadata");
|
|
1097
1097
|
}
|
|
1098
1098
|
async write(stream, contentType = null, metadata = null) {
|
|
1099
1099
|
const uploadStream = copyStream(stream);
|