feat: Adds middleware to routes
This commit is contained in:
@@ -147,7 +147,7 @@ public enum ApiRoute: Sendable {
|
||||
}
|
||||
|
||||
public enum VendorApiRoute: Sendable {
|
||||
case index(withBranches: Bool?)
|
||||
case index(withBranches: Bool? = nil)
|
||||
case create(Vendor.Create)
|
||||
case delete(id: Vendor.ID)
|
||||
case get(id: Vendor.ID)
|
||||
|
||||
Reference in New Issue
Block a user