Quick fix of update handler
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Adam Štrauch 2022-02-09 16:54:30 +01:00
parent 00f2d418d6
commit 7add860d83
Signed by: cx
GPG key ID: 018304FFA8988F8D

View file

@ -241,6 +241,11 @@ func updateEventHandler(m *nats.Msg, message *RequestMessage) error {
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{
AppName: message.AppName,
DB: common.GetDBConnection(),