Skip to content

Commit

Permalink
Fixed CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaMineJP committed Nov 16, 2024
1 parent 265f477 commit 97c2d24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api-react/src/services/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ export const walletApi = apiWithTag.injectEndpoints({
providesTags: (result, _error, { walletId }) => (result ? [{ type: 'DIDCoinInfo', id: walletId }] : []),
}),

getDIDInfo: query(build, DID, 'getDidInfo', {
getDIDInfo: query(build, DID, 'getDIDInfo', {
providesTags: (result, _error, { coinId }) => (result ? [{ type: 'DIDInfo', id: coinId }] : []),
}),

Expand All @@ -1143,11 +1143,11 @@ export const walletApi = apiWithTag.injectEndpoints({
// ],
// }),

getDIDMetadata: query(build, DID, 'getDidMetadata', {
getDIDMetadata: query(build, DID, 'getDIDMetadata', {
providesTags: (result, _error, { walletId }) => (result ? [{ type: 'DIDMetadata', id: walletId }] : []),
}),

updateDIDMetadata: mutation(build, DID, 'updateDidMetadata', {
updateDIDMetadata: mutation(build, DID, 'updateDIDMetadata', {
invalidatesTags: (_result, _error, { walletId }) => [
{ type: 'DIDInfo' },
{ type: 'DIDCoinInfo', id: walletId },
Expand Down

0 comments on commit 97c2d24

Please sign in to comment.