remove log
This commit is contained in:
@@ -34,13 +34,9 @@ export async function uploadBlob(
|
|||||||
): Promise<ComAtprotoRepoUploadBlob.Response> {
|
): Promise<ComAtprotoRepoUploadBlob.Response> {
|
||||||
if (isWeb) {
|
if (isWeb) {
|
||||||
// `blob` should be a data uri
|
// `blob` should be a data uri
|
||||||
console.log(convertDataURIToUint8Array(blob))
|
return agent.uploadBlob(convertDataURIToUint8Array(blob), {
|
||||||
|
|
||||||
const x = await agent.uploadBlob(convertDataURIToUint8Array(blob), {
|
|
||||||
encoding,
|
encoding,
|
||||||
})
|
})
|
||||||
|
|
||||||
return x
|
|
||||||
} else {
|
} else {
|
||||||
// `blob` should be a path to a file in the local FS
|
// `blob` should be a path to a file in the local FS
|
||||||
return agent.uploadBlob(
|
return agent.uploadBlob(
|
||||||
|
|||||||
Reference in New Issue
Block a user