@ -46,6 +46,8 @@ func (b BogFileService) SaveFile(ref FileReference, src io.Reader, size int64) e
io.Copy(f, src)
f.Close()
user_agent.FileQuota.Add(size)
b.user_agent_repo.Update(user_agent.ID, *user_agent)
return nil
}