Skip to content

Commit

Permalink
Merge pull request #6408 from TheThingsNetwork/fix/is-event-name
Browse files Browse the repository at this point in the history
Fix batch end device delete event name
  • Loading branch information
adriansmares authored Jul 31, 2023
2 parents 851e8b5 + 9a0754f commit 22ef42a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions config/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -9620,6 +9620,15 @@
"file": "client_registry.go"
}
},
"event:end_device.batch.delete": {
"translations": {
"en": "batch delete end devices"
},
"description": {
"package": "pkg/identityserver",
"file": "end_device_registry.go"
}
},
"event:end_device.create": {
"translations": {
"en": "create end device"
Expand Down Expand Up @@ -9926,15 +9935,6 @@
"file": "invitation_registry.go"
}
},
"event:is.end_device.batch.delete": {
"translations": {
"en": "batch delete end devices"
},
"description": {
"package": "pkg/identityserver",
"file": "end_device_registry.go"
}
},
"event:js.end_device.batch.delete": {
"translations": {
"en": "batch delete end devices"
Expand Down
2 changes: 1 addition & 1 deletion pkg/identityserver/end_device_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var (
events.WithPropagateToParent(),
)
evtBatchDeleteEndDevices = events.Define(
"is.end_device.batch.delete", "batch delete end devices",
"end_device.batch.delete", "batch delete end devices",
events.WithVisibility(ttnpb.Right_RIGHT_APPLICATION_DEVICES_READ),
events.WithDataType(&ttnpb.EndDeviceIdentifiersList{}),
events.WithAuthFromContext(),
Expand Down

0 comments on commit 22ef42a

Please sign in to comment.