mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-04-24 11:57:52 +00:00
added rebuild to sym keys
This commit is contained in:
parent
f78222253b
commit
d2c79f52c4
@ -79,7 +79,7 @@ export const AdminSpaceInner = ({
|
|||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${
|
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${
|
||||||
getLatestPublish.name
|
getLatestPublish.name
|
||||||
}/${getLatestPublish.identifier}?encoding=base64`
|
}/${getLatestPublish.identifier}?encoding=base64&rebuild=true`
|
||||||
);
|
);
|
||||||
data = await res.text();
|
data = await res.text();
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ export const CreateCommonSecret = ({groupId, secretKey, isOwner, myAddress, sec
|
|||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`
|
}?encoding=base64&rebuild=true`
|
||||||
);
|
);
|
||||||
const data = await res.text();
|
const data = await res.text();
|
||||||
|
|
||||||
|
@ -839,7 +839,7 @@ export const Group = ({
|
|||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
`${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`
|
}?encoding=base64&rebuild=true`
|
||||||
);
|
);
|
||||||
data = await res.text();
|
data = await res.text();
|
||||||
}
|
}
|
||||||
|
@ -480,7 +480,7 @@ export const encryptQortalGroupData = async (data, sender) => {
|
|||||||
if(publish === false) throw new Error('No group key found.')
|
if(publish === false) throw new Error('No group key found.')
|
||||||
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`);
|
}?encoding=base64&rebuild=true`);
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
url
|
url
|
||||||
@ -514,7 +514,7 @@ url
|
|||||||
if(publish === false) throw new Error('No group key found.')
|
if(publish === false) throw new Error('No group key found.')
|
||||||
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`);
|
}?encoding=base64&rebuild=true`);
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
url
|
url
|
||||||
@ -575,7 +575,7 @@ export const decryptQortalGroupData = async (data, sender) => {
|
|||||||
if(publish === false) throw new Error('No group key found.')
|
if(publish === false) throw new Error('No group key found.')
|
||||||
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`);
|
}?encoding=base64&rebuild=true`);
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
url
|
url
|
||||||
@ -606,7 +606,7 @@ url
|
|||||||
if(publish === false) throw new Error('No group key found.')
|
if(publish === false) throw new Error('No group key found.')
|
||||||
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${
|
||||||
publish.identifier
|
publish.identifier
|
||||||
}?encoding=base64`);
|
}?encoding=base64&rebuild=true`);
|
||||||
|
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
url
|
url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user