Skip to content

Commit 322fbef

Browse files
committed
fix(web): fix-toast-info-in-policy-upload
1 parent 8cd298e commit 322fbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Resolver/Policy/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const Policy: React.FC = () => {
4747
const fileFormData = new FormData();
4848
fileFormData.append("data", file, file.name);
4949

50-
uploadFormDataToIPFS(fileFormData)
50+
uploadFormDataToIPFS(fileFormData, "policy")
5151
.then(async (res) => {
5252
const response = await res.json();
5353
const policyURI = response["cids"][0];

0 commit comments

Comments
 (0)