Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
1fc04754
Commit
1fc04754
authored
Jan 19, 2018
by
Mattias J Duffy
Browse files
shopmason only
parent
a50bf1b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/actions/api.js
View file @
1fc04754
import
{
GET_FACILITIES
,
SET_FACILITIES
,
SORT_BY_FAVORITES
}
from
'
./action-types
'
;
const
API_GET_FACILITIES
=
'
https://api.srct.gmu.edu/whatsopen/v2/facilities/
'
;
//
const API_GET_FACILITIES = 'https://api.srct.gmu.edu/whatsopen/v2/facilities/';
// SHOP MASON ONLY
//
const API_GET_FACILITIES = 'https://api.srct.gmu.edu/whatsopen/v2/facilities/?facility_classifier=shopmason';
const
API_GET_FACILITIES
=
'
https://api.srct.gmu.edu/whatsopen/v2/facilities/?facility_classifier=shopmason
'
;
export
const
getFacilities
=
()
=>
(
dispatch
)
=>
{
dispatch
({
type
:
GET_FACILITIES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment