export const pathParams = (path, params = {}) => {
    const keys = Object.keys(params);
    let result = path;
    for (let key of keys) {
        result = result.replace(`{${key}}`, params[key]);
    }
    return result;
};
