Skip to content

Commit

Permalink
change new api for getting messages from multisig
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed Sep 23, 2023
1 parent 775d3cd commit 83d4ef3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/services/safeServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ export const fetchSafeMessage = async (
networkId: number,
) => {
let safeMessage;
const chainUrl = getSafeTransactionNetworkUrl(networkId);

try {
const response = await axios.get(
`${chainUrl}/v1/messages/${safeMessageHash}/`,
`https://safe-client.safe.global/v1/chains/${networkId}/messages/${safeMessageHash}`,
{
headers: { 'Content-Type': 'application/json' },
},
Expand Down

0 comments on commit 83d4ef3

Please sign in to comment.