mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(newznab): Use valid usenet release protocol for Starrs (#762)
also update comments Fixes #761
This commit is contained in:
parent
29bedc532d
commit
830e719169
4 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ type ReleaseProtocol string
|
|||
|
||||
const (
|
||||
ReleaseProtocolTorrent ReleaseProtocol = "torrent"
|
||||
ReleaseProtocolNzb ReleaseProtocol = "nzb"
|
||||
ReleaseProtocolNzb ReleaseProtocol = "usenet"
|
||||
)
|
||||
|
||||
func (r ReleaseProtocol) String() string {
|
||||
|
@ -162,7 +162,7 @@ func (r ReleaseProtocol) String() string {
|
|||
case ReleaseProtocolTorrent:
|
||||
return "torrent"
|
||||
case ReleaseProtocolNzb:
|
||||
return "nzb"
|
||||
return "usenet"
|
||||
default:
|
||||
return "torrent"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue