-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add triggering anonymizer from endpoint #40
Add triggering anonymizer from endpoint #40
Conversation
f36c084
to
9376504
Compare
api/Services/AnonymizerService.cs
Outdated
public class AnonymizerService | ||
{ | ||
private static readonly HttpClient client = new(); | ||
|
||
public async Task TriggerAnonymizerFunc(InspectionData data) | ||
{ | ||
var json = JsonSerializer.Serialize(data); | ||
var dto = new TriggerAnonymizerRequest(data.InspectionId, data.RawDataUri, data.AnonymizedUri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is dto, can we make it a longer, more descriptive name?
public class TriggerAnonymizerRequest | ||
{ | ||
public required string InspectionId { get; set; } | ||
public required string Name { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will name describe here? Do we need it?
9376504
to
131b133
Compare
131b133
to
aabb5d1
Compare
🔔 Changes in database folder detected 🔔 |
aabb5d1
to
a584089
Compare
No description provided.