added offers list to api

This commit is contained in:
2026-04-02 19:32:17 -04:00
parent 5a69ea627e
commit 9a6fcfb6de
2 changed files with 13 additions and 1 deletions

View File

@@ -279,4 +279,10 @@ public sealed class RtcCallService
await _db.Merge<RtcActiveCall, RtcActiveCall>(activeCall);
}
}
public async Task<object?> GetOffersAsync()
{
var offers = await _db.Select<RtcOffer>("rtc_offers");
return offers;
}
}