Bot ownerID fix (#3436)

* Added the OwnerId for creation of the bot
This commit is contained in:
Rajat Dabade 2022-07-28 00:22:17 +05:30 committed by GitHub
parent 36a073eaad
commit e9e4b5851a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,6 +75,7 @@ func createDelivery(servicesAPI model.ServicesAPI, serverRoot string) (*pluginde
Username: botUsername,
DisplayName: botDisplayname,
Description: botDescription,
OwnerId: model.SystemUserID,
}
botID, err := servicesAPI.EnsureBot(bot)
if err != nil {