feat(backend): delete flag endpoint

This commit is contained in:
sam 2024-09-26 23:03:50 +02:00
parent e20a7d3465
commit 758ab9ec5b
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
3 changed files with 43 additions and 3 deletions

View file

@ -1,4 +1,3 @@
using System.Security.Cryptography;
using Coravel.Invocable;
using Foxnouns.Backend.Database;
using Foxnouns.Backend.Database.Models;
@ -45,5 +44,5 @@ public class CreateFlagInvocable(DatabaseContext db, ObjectStorageService object
throw new NotImplementedException();
}
private static string Path(string hash) => $"flags/{hash}.webp";
public static string Path(string hash) => $"flags/{hash}.webp";
}