Skip to content
Snippets Groups Projects
Commit 163af62c authored by Jake Taylor's avatar Jake Taylor
Browse files

fix compile issue

parent bfc9784e
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!32Admin Commands
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"gitlab.com/elixxir/client/v4/channels" "gitlab.com/elixxir/client/v4/channels"
"gitlab.com/elixxir/xxdk-wasm/indexedDb/channels" channelsDb "gitlab.com/elixxir/xxdk-wasm/indexedDb/channels"
"gitlab.com/xx_network/primitives/id" "gitlab.com/xx_network/primitives/id"
"sync" "sync"
"syscall/js" "syscall/js"
...@@ -387,7 +387,7 @@ func newChannelsManagerWithIndexedDb(cmixID int, privateIdentity []byte, ...@@ -387,7 +387,7 @@ func newChannelsManagerWithIndexedDb(cmixID int, privateIdentity []byte,
cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), update) cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), update)
} }
model := channels.NewWASMEventModelBuilder(cipher, messageReceivedCB) model := channelsDb.NewWASMEventModelBuilder(cipher, messageReceivedCB)
promiseFn := func(resolve, reject func(args ...any) js.Value) { promiseFn := func(resolve, reject func(args ...any) js.Value) {
cm, err := bindings.NewChannelsManagerGoEventModel( cm, err := bindings.NewChannelsManagerGoEventModel(
...@@ -486,7 +486,7 @@ func loadChannelsManagerWithIndexedDb(cmixID int, storageTag string, ...@@ -486,7 +486,7 @@ func loadChannelsManagerWithIndexedDb(cmixID int, storageTag string,
cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), updated) cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), updated)
} }
model := channels.NewWASMEventModelBuilder(cipher, messageReceivedCB) model := channelsDb.NewWASMEventModelBuilder(cipher, messageReceivedCB)
promiseFn := func(resolve, reject func(args ...any) js.Value) { promiseFn := func(resolve, reject func(args ...any) js.Value) {
cm, err := bindings.LoadChannelsManagerGoEventModel( cm, err := bindings.LoadChannelsManagerGoEventModel(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment