feat(backend): add member GET endpoints, POST /users/@me/members endpoint
This commit is contained in:
parent
16f230b97d
commit
e7ec0e6661
10 changed files with 152 additions and 55 deletions
|
@ -10,7 +10,7 @@ namespace Foxnouns.Backend.Services;
|
|||
public class KeyCacheService(DatabaseContext db, IClock clock, ILogger logger)
|
||||
{
|
||||
public Task SetKeyAsync(string key, string value, Duration expireAfter) =>
|
||||
db.SetKeyAsync(key, value, clock.GetCurrentInstant() + expireAfter);
|
||||
SetKeyAsync(key, value, clock.GetCurrentInstant() + expireAfter);
|
||||
|
||||
public async Task SetKeyAsync(string key, string value, Instant expires)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue