Skip to content

Commit

Permalink
solve
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Nov 15, 2023
1 parent 2235342 commit f445265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compress/api_customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)


func (o *compress) GetCredentials() (ResponseServer, error) {
func (o *compress) GetCredentials() (*ResponseServer, error) {
//
resp, err := o.restyPost(CREDENTIALS, BaseModel{ClientId: o.GetCliendId(), ApiKey: o.apiKey})
if err != nil {
Expand All @@ -21,5 +21,5 @@ func (o *compress) GetCredentials() (ResponseServer, error) {
return nil, err
}
o.debugPrint(obj)
return obj, nil
return &obj, nil
}
2 changes: 1 addition & 1 deletion compress/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type ICompress interface {
//
HealthCheck() error
IsDebug() bool
GetCredentials() (ResponseServer, error)
GetCredentials() (*ResponseServer, error)
GetUploads(uploadsPaginated UploadsPaginated) ([]VideoUploadInfo, error)
GetSingleUpload( jobid int ) (*VideoUploadInfo, error)
GetJobidProgress( jobid int ) (*VideoUploadInfo, error)
Expand Down

0 comments on commit f445265

Please sign in to comment.