Skip to content

Commit

Permalink
Revert "Gate to dev environment for now"
Browse files Browse the repository at this point in the history
This reverts commit 077c5f5.

# Conflicts:
#	Sources/App/Controllers/API/API+PackageController+GetRoute.swift
  • Loading branch information
finestructure committed Dec 9, 2024
1 parent 098c848 commit 6a7d394
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ extension API.PackageController.GetRoute {
}

static func customCollections(on database: Database, package: Package) async -> [CustomCollection.Details] {
@Dependency(\.environment) var environment
guard environment.current() == .development else { return [] }
do {
try await package.$customCollections.load(on: database)
return package.customCollections.map(\.details)
Expand Down

0 comments on commit 6a7d394

Please sign in to comment.