Ignore:
Timestamp:
Apr 24, 2023, 2:40:34 PM (19 months ago)
Author:
alloc
Message:

*Updated web permissions system
*Fixed webpermissions command
*Moved API "webmods" to "mods", also lists non-webmod mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/WebServer/src/WebAPI/JsonCommons.cs

    r425 r426  
    6060                        _writer.WriteString (_dateTime.ToString ("o"));
    6161                }
     62
     63                public static void WriteStringOrNull (ref JsonWriter _writer, string _string) {
     64                        if (_string == null) {
     65                                _writer.WriteNull ();
     66                        } else {
     67                                _writer.WriteString (_string);
     68                        }
     69                }
    6270        }
    6371}
Note: See TracChangeset for help on using the changeset viewer.