Quick fix of update handler
This commit is contained in:
parent
00f2d418d6
commit
7add860d83
@ -241,6 +241,11 @@ func updateEventHandler(m *nats.Msg, message *RequestMessage) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is small inconsistency because the app name is not coming from the admin which this line fixes.
|
||||||
|
// TODO: We should probably somehow fixed this for this and all other endpoints too. Message app name and payload
|
||||||
|
// TODO: app name have to always the same.
|
||||||
|
appTemplate.Name = message.AppName
|
||||||
|
|
||||||
processor := glue.Processor{
|
processor := glue.Processor{
|
||||||
AppName: message.AppName,
|
AppName: message.AppName,
|
||||||
DB: common.GetDBConnection(),
|
DB: common.GetDBConnection(),
|
||||||
|
Loading…
Reference in New Issue
Block a user