Handle lack of parameters

This commit is contained in:
2023-09-24 21:48:00 -07:00
parent 833745395f
commit 0d50afac8e
2 changed files with 14 additions and 4 deletions

View File

@@ -11,6 +11,10 @@ type EmptyResponse struct {
LemmyResponse
}
type EmptyData struct {
Auth string `json:"auth" url:"auth,omitempty"`
}
type LemmyResponse struct {
Error Optional[string] `json:"error" url:"error,omitempty"`
}