Make email parameter optional
This commit is contained in:
parent
e0fd7097eb
commit
8222d651ad
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub const RegistrationRequest = struct {
|
||||||
username: []const u8,
|
username: []const u8,
|
||||||
password: []const u8,
|
password: []const u8,
|
||||||
invite_code: []const u8,
|
invite_code: []const u8,
|
||||||
email: ?[]const u8,
|
email: ?[]const u8 = null,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const InviteRequest = struct {
|
pub const InviteRequest = struct {
|
||||||
|
|
Loading…
Reference in a new issue