mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix
This commit is contained in:
parent
6ae4e81ad3
commit
de95f333aa
@ -71,15 +71,16 @@ public class ArtistController : Controller
|
||||
await _dbContext.SaveChangesAsync();
|
||||
var result = updatedArtist.ToModel();
|
||||
|
||||
await _client.Event.Trigger(new EventCreateData()
|
||||
var newTriggerModel = new EventCreateData()
|
||||
{
|
||||
EventName = "artistupdated",
|
||||
To =
|
||||
{
|
||||
SubscriberId = userId,
|
||||
},
|
||||
Payload = {}
|
||||
});
|
||||
Payload = { }
|
||||
};
|
||||
await _client.Event.Trigger(newTriggerModel);
|
||||
|
||||
return Ok(result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user