({ name, ...opts }, options = {})
| 5 | * @async |
| 6 | */ |
| 7 | export const createNewResourceHubResource = ({ name, ...opts }, options = {}) => |
| 8 | fetchJson('/db/resource_hub_resource', _.assign({}, options, { |
| 9 | method: 'POST', |
| 10 | json: { name, ...opts } |
| 11 | })) |
| 12 | |
| 13 | export const getResourceHubResources = () => fetchJson('/db/resource_hub_resource') |
| 14 |
nothing calls this directly
no outgoing calls
no test coverage detected