mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixing seal not communicated on new connections
This commit is contained in:
parent
cc7e8e4ad2
commit
5b7eff1c7d
@ -4349,6 +4349,8 @@ components:
|
|||||||
format: base64 encoded image
|
format: base64 encoded image
|
||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
|
seal:
|
||||||
|
type: string
|
||||||
node:
|
node:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ func AddCard(w http.ResponseWriter, r *http.Request) {
|
|||||||
Image: identity.Image,
|
Image: identity.Image,
|
||||||
Version: identity.Version,
|
Version: identity.Version,
|
||||||
Node: identity.Node,
|
Node: identity.Node,
|
||||||
|
Seal: identity.Seal,
|
||||||
ProfileRevision: identity.Revision,
|
ProfileRevision: identity.Revision,
|
||||||
Status: APPCardConfirmed,
|
Status: APPCardConfirmed,
|
||||||
StatusUpdated: time.Now().Unix(),
|
StatusUpdated: time.Now().Unix(),
|
||||||
|
@ -48,6 +48,7 @@ func GetOpenMessage(w http.ResponseWriter, r *http.Request) {
|
|||||||
Handle: account.Username,
|
Handle: account.Username,
|
||||||
Name: detail.Name,
|
Name: detail.Name,
|
||||||
Description: detail.Description,
|
Description: detail.Description,
|
||||||
|
Seal: detail.SealPublic,
|
||||||
Location: detail.Location,
|
Location: detail.Location,
|
||||||
Image: detail.Image,
|
Image: detail.Image,
|
||||||
Version: APPVersion,
|
Version: APPVersion,
|
||||||
|
@ -62,6 +62,7 @@ func SetOpenMessage(w http.ResponseWriter, r *http.Request) {
|
|||||||
card.Name = connect.Name
|
card.Name = connect.Name
|
||||||
card.Description = connect.Description
|
card.Description = connect.Description
|
||||||
card.Location = connect.Location
|
card.Location = connect.Location
|
||||||
|
card.Seal = connect.Seal
|
||||||
card.Image = connect.Image
|
card.Image = connect.Image
|
||||||
card.Version = connect.Version
|
card.Version = connect.Version
|
||||||
card.Node = connect.Node
|
card.Node = connect.Node
|
||||||
@ -109,6 +110,7 @@ func SetOpenMessage(w http.ResponseWriter, r *http.Request) {
|
|||||||
card.Username = connect.Handle
|
card.Username = connect.Handle
|
||||||
card.Name = connect.Name
|
card.Name = connect.Name
|
||||||
card.Description = connect.Description
|
card.Description = connect.Description
|
||||||
|
card.Seal = connect.Seal
|
||||||
card.Location = connect.Location
|
card.Location = connect.Location
|
||||||
card.Image = connect.Image
|
card.Image = connect.Image
|
||||||
card.Version = connect.Version
|
card.Version = connect.Version
|
||||||
|
@ -249,6 +249,8 @@ type Connect struct {
|
|||||||
|
|
||||||
Version string `json:"version,omitempty"`
|
Version string `json:"version,omitempty"`
|
||||||
|
|
||||||
|
Seal string `json:"seal,omitempty"`
|
||||||
|
|
||||||
Node string `json:"node,omitempty"`
|
Node string `json:"node,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user