Skip to content

Commit

Permalink
Add cancel-listing endpoint to API docs (#429)
Browse files Browse the repository at this point in the history
* Add cancel-listing endpoint to API docs

* Move import
  • Loading branch information
Kien Ngo authored Feb 26, 2024
1 parent 0f70e16 commit f74de89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/routes/contract/extensions/marketplaceV3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { directListingsIsBuyerApprovedForListing } from "./directListings/read/i
import { directListingsIsCurrencyApprovedForListing } from "./directListings/read/isCurrencyApprovedForListing";
import { directListingsApproveBuyerForReservedListing } from "./directListings/write/approveBuyerForReservedListing";
import { directListingsBuyFromListing } from "./directListings/write/buyFromListing";
import { directListingsCancelListing } from "./directListings/write/cancelListing";
import { directListingsCreateListing } from "./directListings/write/createListing";
import { directListingsRevokeBuyerApprovalForReservedListing } from "./directListings/write/revokeBuyerApprovalForReservedListing";
import { directListingsRevokeCurrencyApprovalForListing } from "./directListings/write/revokeCurrencyApprovalForListing";
Expand Down Expand Up @@ -74,6 +75,7 @@ export const marketplaceV3Routes = async (fastify: FastifyInstance) => {
await fastify.register(directListingsApproveBuyerForReservedListing);
await fastify.register(directListingsRevokeBuyerApprovalForReservedListing);
await fastify.register(directListingsRevokeCurrencyApprovalForListing);
await fastify.register(directListingsCancelListing);

// English Auctions
await fastify.register(englishAuctionsBuyoutAuction);
Expand Down

0 comments on commit f74de89

Please sign in to comment.