mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: reporting apis; better rate limiting
refactor: change certain apis to be more REST like (e.g. DELETE /api/paste/{pasteId}/delete -> DELETE /api/paste/{pasteId}
This commit is contained in:
@@ -21,6 +21,7 @@ namespace SharpbinV3.Server.Data.Entities
|
||||
public int Visibility { get; set; } = 0; // 0 = public, 1 = unlisted, 2 = private
|
||||
public List<Paste> Pastes { get; set; } = [];
|
||||
public List<RefreshToken> RefreshTokens { get; set; } = [];
|
||||
public List<Report> Reports { get; set; } = [];
|
||||
public UserTotp? Totp { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user