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