import { API_URL } from '../../config'
import { SendRateResponse, SendRate } from './types'

const composeSendRateURL = () => (
    API_URL + '/user/rating?'
)

const processSendRate = (data: SendRateResponse): SendRate => {
    return data.Success
}

export { composeSendRateURL, processSendRate }
