Skip to content

Commit

Permalink
fix: file upload status - code style change
Browse files Browse the repository at this point in the history
https://telecominfraproject.atlassian.net/browse/WIFI-14134

Summary of changes:
- Code style change.

Signed-off-by: Ivan Chvets <[email protected]>
  • Loading branch information
i-chvets committed Sep 27, 2024
1 parent c679d4a commit 4f00d77
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 4f00d77

Please sign in to comment.