Merge pull request 'working' (#39) from working into main
Docker Build and Release Upload / build (push) Successful in 1m30s

Reviewed-on: #39
This commit was merged in pull request #39.
This commit is contained in:
2025-09-05 03:17:24 +00:00
+5 -8
View File
@@ -16,15 +16,12 @@ namespace BoredCareers.Controllers {
[HttpGet]
public async Task<IActionResult> GetCompany(int CompanyID) {
if (isLoggedIn()) {
Company? company = await _databaseService.GetCompany(CompanyID);
if (company != null) {
company.EmailToken = "";
return Ok(company);
}
return NotFound("Company doesn't exist");
Company? company = await _databaseService.GetCompany(CompanyID);
if (company != null) {
company.EmailToken = "";
return Ok(company);
}
return NotFound("Not logged in");
return NotFound("Company doesn't exist");
}
[HttpPost]