Added rudimentary tags page. Improved social match behavior.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import config from 'config';
|
||||
|
||||
import queryString from 'query-string';
|
||||
|
||||
async function get(endpoint, query = {}) {
|
||||
const q = queryString.stringify(query);
|
||||
const q = new URLSearchParams(query).toString();
|
||||
|
||||
const res = await fetch(`${config.api.url}${endpoint}?${q}`, {
|
||||
method: 'GET',
|
||||
|
||||
Reference in New Issue
Block a user