mirror of
https://github.com/openziti/zrok.git
synced 2025-01-21 21:38:50 +01:00
console spam (#724)
This commit is contained in:
parent
58f33e390b
commit
cdfed2806b
@ -28,14 +28,12 @@ const SharePanel = ({ share, user }: SharePanelProps) => {
|
|||||||
"X-TOKEN": user.token
|
"X-TOKEN": user.token
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log(share);
|
|
||||||
let metadata = new MetadataApi(cfg);
|
let metadata = new MetadataApi(cfg);
|
||||||
metadata.getShareDetail({ shrToken: share.data!.shrToken! as string })
|
metadata.getShareDetail({ shrToken: share.data!.shrToken! as string })
|
||||||
.then(d => {
|
.then(d => {
|
||||||
delete d.activity;
|
delete d.activity;
|
||||||
delete d.limited;
|
delete d.limited;
|
||||||
delete d.reserved;
|
delete d.reserved;
|
||||||
console.log("d", d);
|
|
||||||
setDetail(d);
|
setDetail(d);
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
|
Loading…
Reference in New Issue
Block a user