Skip to content

Commit

Permalink
Fix contract query name formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
fersirni committed Nov 8, 2022
1 parent 3d48364 commit b9252a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ink-substrate-explorer-api",
"version": "1.0.2",
"version": "1.0.3",
"description": "Ink Explorer is an application that provides Ink contracts related information on Substrate based blockchains.",
"author": "Blockcoders <engineering@blockcoders.io>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/app.resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('AppResolver', () => {

describe('version', () => {
it('should return the current version', () => {
expect(resolver.version()).toEqual('v1.0.2')
expect(resolver.version()).toEqual('v1.0.3')
})
})
})
2 changes: 1 addition & 1 deletion src/app.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export class AppResolver {

@Query(/* istanbul ignore next */ () => String)
version(): string {
return 'v1.0.2'
return 'v1.0.3'
}
}
2 changes: 1 addition & 1 deletion src/contracts/contracts.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class ContractsService {
method,
docs,
args,
name: (identifier[0].toUpperCase() + identifier.substring(1)).replace('_', ' '),
name: (identifier[0].toUpperCase() + identifier.substring(1)).replaceAll('_', ' '),
})
})
contract.queries = contractQueries
Expand Down

0 comments on commit b9252a4

Please sign in to comment.