ips: log on activities, show on card

This commit is contained in:
Harvey Tindall
2023-12-23 21:47:41 +00:00
parent 269836fc99
commit f823705e40
14 changed files with 77 additions and 50 deletions

View File

@@ -138,6 +138,7 @@ func (app *appContext) GetActivities(gc *gin.Context) {
InviteCode: act.InviteCode,
Value: act.Value,
Time: act.Time.Unix(),
IP: act.IP,
}
if act.Type == ActivityDeletion || act.Type == ActivityCreation {
resp.Activities[i].Username = act.Value