Skip to content

Commit

Permalink
Merge pull request #385 from Telecominfraproject/WIFI-14134-fix_code_…
Browse files Browse the repository at this point in the history
…style_change

WIFI-14134: fix: file upload status - code style change
  • Loading branch information
i-chvets authored Sep 27, 2024
2 parents c679d4a + 4f00d77 commit 00bc77f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RESTAPI/RESTAPI_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ namespace OpenWifi {
if (!StorageService()->GetAttachedFileContent(UUID, SerialNumber, FileContent, FileType, WaitingForFile) && !WaitingForFile) {
return NotFound();
}
else if (WaitingForFile)
{
else if (WaitingForFile) {
// waiting for file to be uploaded, return Accepted
return Accepted();
}
Expand Down

0 comments on commit 00bc77f

Please sign in to comment.