Update response + input types for admin apis

This commit is contained in:
Lakhan Samani
2022-01-09 18:40:30 +05:30
parent 266b9e34b6
commit f9ed91934e
8 changed files with 70 additions and 129 deletions

View File

@@ -6,8 +6,8 @@ type AdminLoginInput struct {
AdminSecret string `json:"admin_secret"`
}
type AdminLoginResponse struct {
Message string `json:"message"`
type AdminSignupInput struct {
AdminSecret string `json:"admin_secret"`
}
type AuthResponse struct {