Skip to content

Commit 78a4007

Browse files
committed
Fix: adjust RiotDataController inheritance
Fixing RiotDataController inheritance and updating render.yaml
1 parent 96c9ab3 commit 78a4007

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

app/modules/riot_integration/controllers/riot_data_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RiotIntegration
44
module Controllers
5-
class RiotDataController < BaseController
5+
class RiotDataController < Api::V1::BaseController
66
skip_before_action :authenticate_request!, only: %i[champions champion_details items version]
77

88
# GET /api/v1/riot-data/champions

render.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
databases:
2-
- name: prostaff-db
3-
databaseName: prostaff_api_production
4-
user: prostaff_user
5-
plan: free
1+
62

73

84
services:
@@ -23,10 +19,7 @@ services:
2319
sync: false
2420
- key: CORS_ORIGINS
2521
value: https://prostaffgg.netlify.app,http://localhost:5173
26-
- key: DATABASE_URL
27-
fromDatabase:
28-
name: prostaff-db
29-
property: connectionString
22+
3023
- key: REDIS_URL
3124
fromService:
3225
type: redis

0 commit comments

Comments
 (0)