at the end of the day, it was inevitable

This commit is contained in:
Mo Elzubeir
2022-12-09 08:36:26 -06:00
commit 1218570914
1768 changed files with 887087 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import {createApi} from '../common/Common'
const baseUrl = '/api/v1/receivers'
export const getItems = createApi('GET', baseUrl, {
inputData: (data) => data
})
export const getEmailHistory = createApi('GET', baseUrl + '/{id}/emailHistory', {
urlData: (payload, receiverId) => ({id: receiverId}),
inputData: data => data
})