Merge pull request 'working' (#39) from working into main
Docker Build and Release Upload / build (push) Successful in 1m30s
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:
@@ -16,7 +16,6 @@ namespace BoredCareers.Controllers {
|
||||
|
||||
[HttpGet]
|
||||
public async Task<IActionResult> GetCompany(int CompanyID) {
|
||||
if (isLoggedIn()) {
|
||||
Company? company = await _databaseService.GetCompany(CompanyID);
|
||||
if (company != null) {
|
||||
company.EmailToken = "";
|
||||
@@ -24,8 +23,6 @@ namespace BoredCareers.Controllers {
|
||||
}
|
||||
return NotFound("Company doesn't exist");
|
||||
}
|
||||
return NotFound("Not logged in");
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> SetCompany([FromBody] Company company) {
|
||||
|
||||
Reference in New Issue
Block a user