fix: handle different response

This commit is contained in:
Lakhan Samani
2022-07-17 17:05:35 +05:30
parent 70ea463f60
commit 882756ef3a
5 changed files with 9 additions and 19 deletions

View File

@@ -228,8 +228,8 @@ type TestEndpointRequest struct {
}
type TestEndpointResponse struct {
HTTPStatus *int64 `json:"http_status"`
Response map[string]interface{} `json:"response"`
HTTPStatus *int64 `json:"http_status"`
Response *string `json:"response"`
}
type UpdateAccessInput struct {