Quick fix of update handler
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

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
1 changed files with 5 additions and 0 deletions

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(),