mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 14:48:02 -05:00
no longer split schema in request/response
This commit is contained in:
@@ -31,7 +31,7 @@ export interface PatchedInviteLink {
|
||||
* @type {number}
|
||||
* @memberof PatchedInviteLink
|
||||
*/
|
||||
readonly id?: number;
|
||||
id?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -124,6 +124,7 @@ export function PatchedInviteLinkToJSON(value?: PatchedInviteLink | null): any {
|
||||
}
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
'email': value['email'],
|
||||
'group': GroupToJSON(value['group']),
|
||||
'valid_until': value['validUntil'] == null ? undefined : ((value['validUntil']).toISOString().substring(0,10)),
|
||||
|
||||
Reference in New Issue
Block a user