Skip to content
Snippets Groups Projects
Commit 46b4b1da authored by ko_oler's avatar ko_oler
Browse files

fix

parent e7d7fd30
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ func (p *ActionURL) Make() string {
// parse функция для заполнения структуры ActionURL из переданного действия
func parse(action string) (*ActionURL, error) {
if action == "" {
return &ActionURL{URL: nil}, nil
return &ActionURL{}, nil
}
actionURL := &ActionURL{}
err := actionURL.SetURL(action)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment