diff --git a/tranga-website/src/api/NotificationConnector.tsx b/tranga-website/src/api/NotificationConnector.tsx index c789ac1..45a054f 100644 --- a/tranga-website/src/api/NotificationConnector.tsx +++ b/tranga-website/src/api/NotificationConnector.tsx @@ -2,7 +2,6 @@ import {deleteData, getData, putData} from "./fetchApi.tsx"; import INotificationConnector from "./types/INotificationConnector.ts"; import IGotifyRecord from "./types/records/IGotifyRecord.ts"; import INtfyRecord from "./types/records/INtfyRecord.ts"; -import ILunaseaRecord from "./types/records/ILunaseaRecord.ts"; import IPushoverRecord from "./types/records/IPushoverRecord.ts"; export const GetNotificationConnectors = async (apiUri: string) : Promise => { @@ -39,12 +38,6 @@ export const CreateNtfy = async (apiUri: string, ntfy: INtfyRecord) : Promise; } -export const CreateLunasea = async (apiUri: string, lunasea: ILunaseaRecord) : Promise => { - if(lunasea === undefined || lunasea === null) - return Promise.reject("lunasea was not provided"); - return await putData(`${apiUri}/v2/NotificationConnector/Lunasea`, lunasea) as Promise; -} - export const CreatePushover = async (apiUri: string, pushover: IPushoverRecord) : Promise => { if(pushover === undefined || pushover === null) return Promise.reject("pushover was not provided"); diff --git a/tranga-website/src/api/types/records/ILunaseaRecord.ts b/tranga-website/src/api/types/records/ILunaseaRecord.ts deleted file mode 100644 index 481abc8..0000000 --- a/tranga-website/src/api/types/records/ILunaseaRecord.ts +++ /dev/null @@ -1,5 +0,0 @@ -import "../../../styles/notificationConnector.css"; - -export default interface ILunaseaRecord { - id: string; -} \ No newline at end of file