Skip to content

Commit

Permalink
BlobStore.prototype.put should use JSON for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Oct 23, 2024
1 parent e52d05d commit efdce77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blob-store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class BlobStore {
* @param {Omit<BlobId, 'driveId'>} blobId
* @param {Buffer} blob
* @param {object} [options]
* @param {{mimeType: string}} [options.metadata] Metadata to store with the blob
* @param {JsonObject} [options.metadata] Metadata to store with the blob
* @returns {Promise<string>} discovery key as hex string of hyperdrive where blob is stored
*/
async put({ type, variant, name }, blob, options) {
Expand Down

0 comments on commit efdce77

Please sign in to comment.