Fix incorrect return of cached tracking link

This commit is contained in:
Kailash Nadh 2018-10-31 19:50:03 +05:30
parent b4e6ed658a
commit b63e3907c5
1 changed files with 1 additions and 1 deletions

View File

@ -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()