Skip to content

Commit

Permalink
CreateApplicationresponse used in place of Application where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
PCloughster committed Aug 16, 2024
1 parent 9f00b41 commit 9c5510d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/service/account/service_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func (s *Service) CreateApplication(req CreateApplicationRequest) (CreateApplica
return response, err
}

func (s *Service) createApplicationResponseBody(req CreateApplicationRequest) (*connection.APIResponseBodyData[Application], error) {
return connection.Post[Application](s.connection, "/account/v1/applications", &req)
func (s *Service) createApplicationResponseBody(req CreateApplicationRequest) (*connection.APIResponseBodyData[CreateApplicationResponse], error) {
return connection.Post[CreateApplicationResponse](s.connection, "/account/v1/applications", &req)
}

// GetApplicationServices retrieves the services and roles of an application by id
Expand Down

0 comments on commit 9c5510d

Please sign in to comment.