Skip to content

Commit

Permalink
fix: Remove after spinner text
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Jan 8, 2023
1 parent 964582a commit 09ee4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ func getNew(oldlist, newlist []models.User) []models.User {

// UploadMedia uploads media to profile.
func (svc *Service) UploadMedia(ctx context.Context, file io.Reader, mt media.Type) error {
stop := spinner.Set("Uploading media", "Done", "yellow")
stop := spinner.Set("Uploading media", "", "yellow")
defer stop()

if file == nil {
Expand Down

0 comments on commit 09ee4fe

Please sign in to comment.