Skip to content

Commit

Permalink
fix even stupider bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed Oct 13, 2024
1 parent e5abe4d commit 2750738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/metadata/metadata.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ export class MetadataService {
registerProvider(provider: MetadataProvider) {
// Check if a provider with the same slug or priority already exists
const existingProvider = this.providers?.find(
(provider) =>
provider.slug === provider.slug ||
provider.priority === provider.priority,
(existingProvider) =>
existingProvider.slug === provider.slug ||
existingProvider.priority === provider.priority,
);

if (existingProvider) {
Expand Down

0 comments on commit 2750738

Please sign in to comment.