Skip to content

Commit

Permalink
correct mistyped var
Browse files Browse the repository at this point in the history
  • Loading branch information
PipeItToDevNull committed Dec 10, 2024
1 parent 47aea58 commit 961db3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/put/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const blobServiceString = BlobServiceClient.fromConnectionString(process.env.Azu

module.exports = async function (context, req) {
const containerClient = blobServiceString.getContainerClient('linx-container'); // define the azure storage container to be used
const blobUUID = uuidv4().split('-')[0]; // Get the first part of the UUID
const blobUUID = uuid().split('-')[0]; // Get the first part of the UUID
const blockBlobClient = containerClient.getBlockBlobClient(blobUUID);
const text = req.body;
const mimetype = req.headers['content-type'] || 'text/plain'; // get the mimetype from the request headers or default to 'text/plain'
Expand Down

0 comments on commit 961db3a

Please sign in to comment.