Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Nov 26, 2024
1 parent 44cc695 commit 0223422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion canal/on_character.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

type CharacterKey struct {
ID model.CharacterID `json:"character_id"`
ID model.CharacterID `json:"crt_id"`
}

func (e *eventHandler) OnCharacter(ctx context.Context, key json.RawMessage, payload Payload) error {
Expand Down
2 changes: 1 addition & 1 deletion canal/on_person.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

type PersonKey struct {
ID model.PersonID `json:"person_id"`
ID model.PersonID `json:"prsn_id"`
}

func (e *eventHandler) OnPerson(ctx context.Context, key json.RawMessage, payload Payload) error {
Expand Down

0 comments on commit 0223422

Please sign in to comment.