diff --git a/go.mod b/go.mod index a3d704ed..51aff6c1 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/gorilla/mux v1.8.0 github.com/gorilla/websocket v1.5.0 github.com/icholy/digest v0.1.22 - github.com/illacloud/appwrite-sdk-go v0.0.2 + github.com/illacloud/appwrite-sdk-go v0.0.3 github.com/jackc/pgx/v5 v5.4.3 github.com/microsoft/go-mssqldb v1.5.0 github.com/minio/minio-go/v7 v7.0.62 diff --git a/go.sum b/go.sum index 6532bbc7..463afa8a 100644 --- a/go.sum +++ b/go.sum @@ -353,8 +353,6 @@ github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2p github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/icholy/digest v0.1.22 h1:dRIwCjtAcXch57ei+F0HSb5hmprL873+q7PoVojdMzM= github.com/icholy/digest v0.1.22/go.mod h1:uLAeDdWKIWNFMH0wqbwchbTQOmJWhzSnL7zmqSPqEEc= -github.com/illacloud/appwrite-sdk-go v0.0.2 h1:pT8eZ+VrdyYsl/vL2MVd5El/zDJhpGoanghB7tUCx7g= -github.com/illacloud/appwrite-sdk-go v0.0.2/go.mod h1:A2+9foOV/ovpdB4GtZAoyD9hgmmu/NvBFhrfTl+ODJs= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= diff --git a/src/actionruntime/appwrite/service.go b/src/actionruntime/appwrite/service.go index 1cf19e23..3492b44e 100644 --- a/src/actionruntime/appwrite/service.go +++ b/src/actionruntime/appwrite/service.go @@ -89,8 +89,7 @@ func (a *Connector) GetMetaInfo(resourceOpts map[string]interface{}) (common.Met } // get collections - var EmptyArray = []interface{}{} - colls, err := db.ListCollections(a.Resource.DatabaseID, EmptyArray, "[SEARCH]") + colls, err := db.ListAllCollections(a.Resource.DatabaseID) fmt.Printf("[DUMP] GetMetaInfo.colls: %+v\n", colls) if colls != nil { fmt.Printf("[DUMP] GetMetaInfo.colls.Result: %+v\n", colls.Result)