diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-20 22:59:09 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-08-20 22:59:09 +1000 |
| commit | c29bdd4a9ec782411f57e3c798e1bb01ca7d417d (patch) | |
| tree | fdb2046af3454a96a9733e156b9c86f538eea21c /Controllers | |
| parent | dfff79815acc86c02dd94716098d409d3fe46ab7 (diff) | |
NSFW tagging and tag editing
Diffstat (limited to 'Controllers')
| -rw-r--r-- | Controllers/MediaController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Controllers/MediaController.cs b/Controllers/MediaController.cs index 3fd716e..3ccfc1d 100644 --- a/Controllers/MediaController.cs +++ b/Controllers/MediaController.cs @@ -137,7 +137,7 @@ public class MediaController : Controller { if(media is null) { var ingestTagDef = db.TagDefinitions - .First(td => td.Source == TagSource.Internal && td.Name == "ingest"); + .First(td => td.Guid == HBContext.IngestTag); media = new() { Checksum = hash, |
