Skip to content

Commit

Permalink
Merge pull request #587 from zaanposni/release/3.7.0
Browse files Browse the repository at this point in the history
Release/3.7.0
  • Loading branch information
zaanposni authored Jan 9, 2024
2 parents 57fecc3 + d6badcf commit fc69594
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 1,344 deletions.
24 changes: 0 additions & 24 deletions backend/MASZ/Controllers/api/v1/MetaController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,5 @@ public async Task<IActionResult> GetApplication()
{
return Ok(DiscordApplicationView.CreateOrDefault(await _discordAPI.GetCurrentApplicationInfo()));
}

[HttpGet("versions")]
public async Task<IActionResult> GetReleases()
{
var restClient = new RestClient("https://maszindex.zaanposni.com/");
var request = new RestRequest("/api/v1/versions", Method.Get);
request.AddQueryParameter("name", "masz_backend");

var response = await restClient.ExecuteAsync(request);

return Ok(response.Content);
}

[HttpPost("feedback")]
public async Task<IActionResult> PostFeedback([FromBody] FeedbackDto feedback)
{
var restClient = new RestClient("https://maszindex.zaanposni.com/");
var request = new RestRequest("/api/v1/feedback", Method.Post);
request.AddJsonBody(feedback);

var response = await restClient.ExecuteAsync(request);

return Ok(response.Content);
}
}
}
10 changes: 0 additions & 10 deletions backend/MASZ/Dtos/Feedback/FeedbackDto.cs

This file was deleted.

15 changes: 0 additions & 15 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataConfigurationDto.cs

This file was deleted.

11 changes: 0 additions & 11 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataGlobalFeatureUsageDto.cs

This file was deleted.

218 changes: 0 additions & 218 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataGuildFeatureUsageDto.cs

This file was deleted.

13 changes: 0 additions & 13 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataGuildSizeDto.cs

This file was deleted.

13 changes: 0 additions & 13 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataResourceDto.cs

This file was deleted.

16 changes: 0 additions & 16 deletions backend/MASZ/Dtos/Telemetry/TelemetryDataUsageDto.cs

This file was deleted.

Loading

0 comments on commit fc69594

Please sign in to comment.