mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-20 04:36:33 -07:00
Fix typo
This commit is contained in:
parent
e14423c3eb
commit
d1fe9f6017
1 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ func LbzSubmitListenHandler(store db.DB, mbzc mbz.MusicBrainzCaller) func(w http
|
|||
SkipSaveListen: req.ListenType == ListenTypePlayingNow,
|
||||
}
|
||||
|
||||
_, err, shared := sfGroup.Do(buildCaolescingKey(payload, req.ListenType), func() (interface{}, error) {
|
||||
_, err, shared := sfGroup.Do(buildCoalescingKey(payload, req.ListenType), func() (interface{}, error) {
|
||||
return 0, catalog.SubmitListen(r.Context(), store, opts)
|
||||
})
|
||||
if shared {
|
||||
|
|
@ -308,6 +308,6 @@ func doLbzRelay(requestBytes []byte, l *zerolog.Logger) {
|
|||
}
|
||||
}
|
||||
|
||||
func buildCaolescingKey(p LbzSubmitListenPayload, listenType LbzListenType) string {
|
||||
func buildCoalescingKey(p LbzSubmitListenPayload, listenType LbzListenType) string {
|
||||
return fmt.Sprintf("%s:%s:%s:%s", listenType, p.TrackMeta.ArtistName, p.TrackMeta.TrackName, p.TrackMeta.ReleaseName)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue