Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyyuan committed Dec 24, 2024
1 parent 60b42a2 commit fb01079
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/core/service/eas.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,13 @@ export class EasService {

async submitSignedAttestation(body: SubmitSignedAttestationBody) {
const domain = this.getEASScanEndPoint(body.chainId);
return await axios.post<StoreIPFSActionReturn>(`${domain}/offchain/store`, {
filename: body.filename,
textJson: body.textJson,
});
const { data } = await axios.post<StoreIPFSActionReturn>(
`${domain}/offchain/store`,
{
filename: body.filename,
textJson: body.textJson,
},
);
return { data };
}
}

0 comments on commit fb01079

Please sign in to comment.