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();
|
await _dbContext.SaveChangesAsync();
|
||||||
var result = updatedArtist.ToModel();
|
var result = updatedArtist.ToModel();
|
||||||
|
|
||||||
await _client.Event.Trigger(new EventCreateData()
|
var newTriggerModel = new EventCreateData()
|
||||||
{
|
{
|
||||||
EventName = "artistupdated",
|
EventName = "artistupdated",
|
||||||
To =
|
To =
|
||||||
{
|
{
|
||||||
SubscriberId = userId,
|
SubscriberId = userId,
|
||||||
},
|
},
|
||||||
Payload = {}
|
Payload = { }
|
||||||
});
|
};
|
||||||
|
await _client.Event.Trigger(newTriggerModel);
|
||||||
|
|
||||||
return Ok(result);
|
return Ok(result);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user