Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix broken check in OAuth app seeder

Jan Sandbrink013e715d4fab
diff --git a/app/seeders/oauth_applications_seeder.rb b/app/seeders/oauth_applications_seeder.rb
index 230a8bb90aa..72cc5bfc7b7 100644
--- a/app/seeders/oauth_applications_seeder.rb
+++ b/app/seeders/oauth_applications_seeder.rb
@@ -41,7 +41,7 @@ class OAuthApplicationsSeeder < Seeder
end
def applicable?
- Doorkeeper::Application.find_by(id: OPENPROJECT_MOBILE_APP_UID).nil?
+ Doorkeeper::Application.find_by(uid: OPENPROJECT_MOBILE_APP_UID).nil?
end
def not_applicable_message