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