Skip to content

Commit

Permalink
Update whitelist endpoit
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Jan 22, 2024
1 parent d723eb8 commit 9838940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ type Mutation {
whitelistCollectionOnMarketplace(input: WhitelistCollectionArgs!): Boolean!
whitelistMarketplace(input: WhitelistMarketplaceArgs!): Boolean!
whitelistMinter(input: WhitelistMinterArgs!): Boolean!
whitelistMinterSc(input: WhitelistMinterArgs!): Boolean!
withdraw(auctionId: Int!): TransactionNode!
withdrawOffer(offerId: Int!): TransactionNode!
xBulkDeployedContracts: [String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ProxyDeployerMutationsResolver extends BaseResolver(TransactionNode

@Mutation(() => Boolean)
@UseGuards(JwtOrNativeAuthGuard, GqlAdminAuthGuard)
async whitelistMinter(@Args('input') input: WhitelistMinterArgs): Promise<Boolean> {
async whitelistMinterSc(@Args('input') input: WhitelistMinterArgs): Promise<Boolean> {
const contractAddresses = await this.minterDeployerService.getDeplyedContractsForAddressAndTamplate(
input.adminAddress,
process.env.TEMPLATE_MINTER_ADDRESS,
Expand Down

0 comments on commit 9838940

Please sign in to comment.