Added users rating in announcement details

This commit is contained in:
2023-08-07 14:08:51 +03:00
parent b93ab9794d
commit d2a3393a11
11 changed files with 231 additions and 5 deletions

View File

@ -0,0 +1,12 @@
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 }