Skip to content

Commit

Permalink
fix: changed var name
Browse files Browse the repository at this point in the history
  • Loading branch information
kyee-rs committed Jul 30, 2023
1 parent d9e839c commit 7855167
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 232 deletions.
116 changes: 0 additions & 116 deletions CODE_OF_CONDUCT.md

This file was deleted.

111 changes: 0 additions & 111 deletions CONTRIBUTING.md

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

**[`v2.0.2-co2`](https://github.com/morph-ua/MorphMails/releases/latest/)**

[![Latest Tag](https://ghcr-badge.egpl.dev/morph-ua/app/latest_tag?color=red&label=latest)](https://ghcr.io/MorphMails/app "Latest Tag")
[![Image Size](https://ghcr-badge.egpl.dev/morph-ua/app/size)](https://ghcr.io/morph-ua/app "Image Size")
[![Latest Tag](https://ghcr-badge.egpl.dev/morph-ua/mails/latest_tag?color=red&label=latest)](https://ghcr.io/MorphMails/mails "Latest Tag")
[![Image Size](https://ghcr-badge.egpl.dev/morph-ua/mails/size)](https://ghcr.io/morph-ua/mails "Image Size")
![license](https://img.shields.io/github/license/morph-ua/MorphMails)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/morph-ua/MorphMails.svg)](https://isitmaintained.com/project/morph-ua/MorphMails 'Average time to resolve an issue')
[![Percentage of issues still open](http://isitmaintained.com/badge/open/morph-ua/MorphMails.svg)](http://isitmaintained.com/project/morph-ua/MorphMails "Percentage of issues still open")
Expand Down
6 changes: 3 additions & 3 deletions internal/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ func unwrapDefaults(c echo.Context) unwrappedDefaults {
subject = "[No Subject]"
case len(html) == 0:
html = "[No Body]"
case len(atc_str) == 0:
atc_str = "0"
case len(atcStr) == 0:
atcStr = "0"
}

atc, _ := strconv.Atoi(atc_str)
atc, _ := strconv.Atoi(atcStr)

return unwrappedDefaults{
Recipients: recipients,
Expand Down

0 comments on commit 7855167

Please sign in to comment.