Skip to content
Snippets Groups Projects
FetchOfferService.ts 271 B
Newer Older
  • Learn to ignore specific revisions
  • zhengbo's avatar
    zhengbo committed
    import * as serverHttpService from "./ServerHttpService";
    
    const baseUrl = "matchedOffer";
    
    function getOffersFromServerWithID(offerId: number) {
      const urlPath = "/" + offerId;
      return serverHttpService.Get(baseUrl + urlPath);
    }
    
    export { getOffersFromServerWithID };