Skip to content

Commit

Permalink
fix: šŸ›use correct case for NFTApi runtime api
Browse files Browse the repository at this point in the history
  • Loading branch information
F-OBrien committed Sep 18, 2024
1 parent 65347f1 commit eb7bcfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/runtime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { ComplianceApiV2 } from './complianceApi/v2';
import { GroupApiV1 } from './groupApi/v1';
import { IdentityApiV3 } from './identityApi/v3';
import { IdentityApiV4 } from './identityApi/v4';
import { NftApiV1 } from './nftApi/v1';
import { NftApiV2 } from './nftApi/v2';
import { NFTApiV1 } from './nftApi/v1';
import { NFTApiV2 } from './nftApi/v2';
import { PipsApiV1 } from './pipsApi/v1';
import { ProtocolApiV1 } from './protocolApi/v1';
import { SettlementApiV1 } from './settlementApi/v1';
Expand All @@ -29,9 +29,9 @@ export const runtime: DefinitionsCall = {
{ methods: IdentityApiV4, version: 4 },
{ methods: IdentityApiV3, version: 3 },
],
NftApi: [
{ methods: NftApiV2, version: 2 },
{ methods: NftApiV1, version: 1 },
NFTApi: [
{ methods: NFTApiV2, version: 2 },
{ methods: NFTApiV1, version: 1 },
],
PipsApi: [{ methods: PipsApiV1, version: 1 }],
ProtocolFeeApi: [{ methods: ProtocolApiV1, version: 1 }],
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/nftApi/v1.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DefinitionCall } from '@polkadot/types/types';

export const NftApiV1: Record<string, DefinitionCall> = {
export const NFTApiV1: Record<string, DefinitionCall> = {
validate_nft_transfer: {
description:
'Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.',
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/nftApi/v2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DefinitionCall } from '@polkadot/types/types';

export const NftApiV2: Record<string, DefinitionCall> = {
export const NFTApiV2: Record<string, DefinitionCall> = {
transfer_report: {
description:
"Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
Expand Down

0 comments on commit eb7bcfa

Please sign in to comment.