13 lines
272 B
TypeScript
13 lines
272 B
TypeScript
|
|
import apiService from './api.service'
|
||
|
|
import { ContactDto } from '@/proxy/contact/models'
|
||
|
|
|
||
|
|
export function getContact() {
|
||
|
|
return apiService.fetchData<ContactDto>(
|
||
|
|
{
|
||
|
|
method: 'GET',
|
||
|
|
url: '/api/app/public/contact',
|
||
|
|
},
|
||
|
|
{ apiName: 'Default' },
|
||
|
|
)
|
||
|
|
}
|