Just flood advertise when we do

This commit is contained in:
Jack Kingsman
2026-02-07 21:09:22 -08:00
parent 82285f07f3
commit 0abe2194b5
3 changed files with 7 additions and 11 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ export const api = {
method: 'PUT',
body: JSON.stringify({ private_key: privateKey }),
}),
sendAdvertisement: (flood = true) =>
fetchJson<{ status: string; flood: boolean }>(`/radio/advertise?flood=${flood}`, {
sendAdvertisement: () =>
fetchJson<{ status: string }>('/radio/advertise', {
method: 'POST',
}),
rebootRadio: () =>