SHARE
TWEET

Untitled

a guest Jun 26th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export function fetchFlightById(flightId) {
  2.     return {
  3.         [REST_CALL]: {
  4.             type: FETCH_FLIGHT_BY_ID,
  5.             endpoint: `${Path.api}/api/v5/getflightbyId`,
  6.             params: {
  7.                 flightId
  8.             },
  9.             method: 'GET'
  10.         }
  11.     }
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top