Fixed IDSignal

gql_cataclysm
noah metz 2023-07-31 18:31:32 -06:00
parent 09c25b1e48
commit 42597057af
1 changed files with 2 additions and 2 deletions

@ -161,7 +161,7 @@ func NewErrorSignal(req_id uuid.UUID, err error) ErrorSignal {
type IDSignal struct {
BaseSignal
ID NodeID `json:"id"`
NodeID `json:"id"`
}
func (signal IDSignal) Serialize() ([]byte, error) {
@ -179,7 +179,7 @@ func (signal IDSignal) String() string {
func NewIDSignal(signal_type SignalType, direction SignalDirection, id NodeID) IDSignal {
return IDSignal{
BaseSignal: NewBaseSignal(signal_type, direction),
ID: id,
NodeID: id,
}
}