ToStoreParams converts DiscordStore to services.WebhookStoreParams
(user entities.AuthContext)
| 25 | |
| 26 | // ToStoreParams converts DiscordStore to services.WebhookStoreParams |
| 27 | func (input *DiscordStore) ToStoreParams(user entities.AuthContext) *services.DiscordStoreParams { |
| 28 | return &services.DiscordStoreParams{ |
| 29 | UserID: user.ID, |
| 30 | Name: input.Name, |
| 31 | ServerID: input.ServerID, |
| 32 | IncomingChannelID: input.IncomingChannelID, |
| 33 | } |
| 34 | } |