mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove unused method.
This commit is contained in:
parent
64d0200f99
commit
4de3daf12d
@ -28,13 +28,6 @@ export const subscribe = async (
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
export const signout = async (email: string, language: string): Promise<boolean> => {
|
|
||||||
if (!CONFIG.KLICKTIPP) return true
|
|
||||||
const apiKey = language === 'de' ? CONFIG.KLICKTIPP_APIKEY_DE : CONFIG.KLICKTIPP_APIKEY_EN
|
|
||||||
const result = await klicktippConnector.signoff(apiKey, email)
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
export const unsubscribe = async (email: string): Promise<boolean> => {
|
export const unsubscribe = async (email: string): Promise<boolean> => {
|
||||||
if (!CONFIG.KLICKTIPP) return true
|
if (!CONFIG.KLICKTIPP) return true
|
||||||
const isLogin = await loginKlicktippUser()
|
const isLogin = await loginKlicktippUser()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user