You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
341 B
19 lines
341 B
import { callApi } from 'helpers'
|
|
import { API_ROOT } from 'config'
|
|
|
|
type ResponseSound = {
|
|
asset: string,
|
|
id: number,
|
|
name: string,
|
|
}
|
|
|
|
export const getSounds = async (): Promise<Array<ResponseSound>> => {
|
|
const config = {
|
|
method: 'GET',
|
|
}
|
|
|
|
return callApi({
|
|
config,
|
|
url: `${API_ROOT}/v1/aws/highlights/music`,
|
|
})
|
|
}
|
|
|