mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Change the syslog format to use app_name instead of app_id (#1166)
* Add AppName to the models.Call, so we can include it in the syslog * Replace the app_id with app_name
This commit is contained in:
@@ -150,6 +150,9 @@ type Call struct {
|
||||
// App this call belongs to.
|
||||
AppID string `json:"app_id" db:"app_id"`
|
||||
|
||||
// Name of the app.
|
||||
AppName string `json:"app_name" db:"app_name"`
|
||||
|
||||
// Trigger this call belongs to.
|
||||
TriggerID string `json:"trigger_id" db:"trigger_id"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user