forked from Silverfish/proton-bridge
feat(BRIDGE-309): Update to the bridge updater logic corresponding to the version file restructure
This commit is contained in:
@ -36,6 +36,8 @@ type API interface {
|
||||
GetDomain() string
|
||||
GetAppVersion() string
|
||||
|
||||
PushFeatureFlag(string)
|
||||
|
||||
Close()
|
||||
}
|
||||
|
||||
@ -61,6 +63,10 @@ func (api *fakeAPI) GetAppVersion() string {
|
||||
return proton.DefaultAppVersion
|
||||
}
|
||||
|
||||
func (api *fakeAPI) PushFeatureFlag(flagName string) {
|
||||
api.Server.PushFeatureFlag(flagName)
|
||||
}
|
||||
|
||||
type liveAPI struct {
|
||||
*server.Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user