Fix incorrect return of cached tracking link
This commit is contained in:
parent
b4e6ed658a
commit
b63e3907c5
|
@ -305,7 +305,7 @@ func (r *Runner) trackLink(url, campUUID, subUUID string) string {
|
|||
r.linksMutex.RLock()
|
||||
if uu, ok := r.links[url]; ok {
|
||||
r.linksMutex.RUnlock()
|
||||
return uu
|
||||
return fmt.Sprintf(r.cfg.LinkTrackURL, uu, campUUID, subUUID)
|
||||
}
|
||||
r.linksMutex.RUnlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue