Ignore:
Timestamp:
Aug 11, 2023, 6:29:09 PM (16 months ago)
Author:
alloc
Message:

More OpenAPI specs added
OpenAPI specs cleanup to have everything validate fine
Added CORS support to API endpoints

Location:
TFP-WebServer/WebServer/src/WebAPI/APIs/Permissions
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/WebServer/src/WebAPI/APIs/Permissions/Blacklist.cs

    r434 r460  
    100100                        }
    101101
    102                         bool validId = PlatformUserIdentifierAbs.TryFromCombinedString (id, out _userId);
    103                         if (!validId) {
     102                        if (PlatformUserIdentifierAbs.TryFromCombinedString (id, out _userId)) {
    104103                                SendEmptyResponse (_context, HttpStatusCode.BadRequest, _jsonInputData, "INVALID_USER");
     104                                return false;
    105105                        }
    106106
    107                         return validId;
     107                        return true;
    108108                }
    109109
Note: See TracChangeset for help on using the changeset viewer.