kalai-attach 1.0.21 → 1.0.22

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kalai-attach",
3
3
  "description": "CAP cds-plugin providing image and attachment storing out-of-the-box.",
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "repository": "capjsattachments-kalai",
6
6
  "author": "Kalai",
7
7
  "homepage": "https://github.com/Kalaikovan-airdit",
@@ -12,9 +12,7 @@ module.exports = class AzureAttachmentsService extends require("./object-store")
12
12
  */
13
13
  async retrieveClient() {
14
14
  try {
15
- const { container_name, connection_string, sas_token } = await fetchfromDestination('AISP-ATTACHMENTS')
16
-
17
- const container_uri = "https://aairdoc9262.blob.core.windows.net"
15
+ const { container_name, container_uri, sas_token } = await fetchfromDestination('aisp-attachments');
18
16
 
19
17
  const blobServiceClient = new BlobServiceClient(container_uri + "?" + sas_token)
20
18
  const containerClient = blobServiceClient.getContainerClient(container_name)