mirror of
https://github.com/idanoo/autobrr
synced 2025-07-24 01:09:13 +00:00
fix: no irc network created when adding a new indexer (#177)
This commit is contained in:
parent
aa196d8104
commit
8bf43dc1e0
6 changed files with 56 additions and 27 deletions
|
@ -89,7 +89,7 @@ export const APIClient = {
|
|||
},
|
||||
irc: {
|
||||
getNetworks: () => appClient.Get<IrcNetworkWithHealth[]>("api/irc"),
|
||||
createNetwork: (network: IrcNetwork) => appClient.Post("api/irc", network),
|
||||
createNetwork: (network: IrcNetworkCreate) => appClient.Post("api/irc", network),
|
||||
updateNetwork: (network: IrcNetwork) => appClient.Put(`api/irc/network/${network.id}`, network),
|
||||
deleteNetwork: (id: number) => appClient.Delete(`api/irc/network/${id}`),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue