import { API_URL } from '../../config'
import { PutAnnouncement, PutAnnouncementResponse } from './types'

const composePutAnnouncementURL = () => (
    API_URL + '/announcement?'
)

const processPutAnnouncement = (data: PutAnnouncementResponse): PutAnnouncement => {
    return data.Success
}

export { composePutAnnouncementURL, processPutAnnouncement }
