mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-29 05:01:24 +00:00
remove logs
This commit is contained in:
@@ -99,7 +99,6 @@ export const publishData = async ({
|
||||
uploadType,
|
||||
withFee,
|
||||
}: any) => {
|
||||
console.log('data', data);
|
||||
const validateName = async (receiverName: string) => {
|
||||
return await reusableGet(`/names/${receiverName}`);
|
||||
};
|
||||
@@ -225,7 +224,6 @@ export const publishData = async ({
|
||||
}
|
||||
|
||||
let transactionBytes = await uploadData(registeredName, data, fee);
|
||||
console.log('transactionBytes length', transactionBytes?.length);
|
||||
|
||||
if (!transactionBytes || transactionBytes.error) {
|
||||
throw new Error(transactionBytes?.message || 'Error when uploading');
|
||||
@@ -247,7 +245,6 @@ export const publishData = async ({
|
||||
};
|
||||
|
||||
const uploadData = async (registeredName: string, data: any, fee: number) => {
|
||||
console.log('data', uploadType, data);
|
||||
let postBody = '';
|
||||
let urlSuffix = '';
|
||||
|
||||
|
@@ -1804,7 +1804,6 @@ export const publishMultipleQDNResources = async (
|
||||
resource?.base64 || resource?.data64 || resourceEncrypt
|
||||
? 'base64'
|
||||
: 'file';
|
||||
console.log('dataType', dataType);
|
||||
await retryTransaction(
|
||||
publishData,
|
||||
[
|
||||
|
Reference in New Issue
Block a user