Make email parameter optional

This commit is contained in:
jaina heartles 2022-09-08 00:06:55 -07:00
parent e0fd7097eb
commit 8222d651ad

View file

@ -30,7 +30,7 @@ pub const RegistrationRequest = struct {
username: []const u8,
password: []const u8,
invite_code: []const u8,
email: ?[]const u8,
email: ?[]const u8 = null,
};
pub const InviteRequest = struct {