mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
Other: Switch from liteapi to go-proton-api
This commit is contained in:
@ -19,8 +19,8 @@ package tests
|
||||
|
||||
import (
|
||||
"github.com/Masterminds/semver/v3"
|
||||
"gitlab.protontech.ch/go/liteapi"
|
||||
"gitlab.protontech.ch/go/liteapi/server"
|
||||
"github.com/ProtonMail/go-proton-api"
|
||||
"github.com/ProtonMail/go-proton-api/server"
|
||||
)
|
||||
|
||||
type API interface {
|
||||
@ -36,7 +36,7 @@ type API interface {
|
||||
RemoveAddress(userID, addrID string) error
|
||||
RemoveAddressKey(userID, addrID, keyID string) error
|
||||
|
||||
UpdateDraft(userID, draftID string, changes liteapi.DraftTemplate) error
|
||||
UpdateDraft(userID, draftID string, changes proton.DraftTemplate) error
|
||||
|
||||
Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user