Skip to content

Commit

Permalink
api: update old field names
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Feb 28, 2020
1 parent 736e13f commit 45bd63c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion passbook/api/v2/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from structlog import get_logger

from passbook.api.permissions import CustomObjectPermissions
from passbook.audit.api.events import EventViewSet
from passbook.audit.api import EventViewSet
from passbook.core.api.applications import ApplicationViewSet
from passbook.core.api.factors import FactorViewSet
from passbook.core.api.groups import GroupViewSet
Expand Down
2 changes: 1 addition & 1 deletion passbook/audit/api/events.py → passbook/audit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Meta:
"date",
"app",
"context",
"request_ip",
"client_ip",
"created",
]

Expand Down
Empty file removed passbook/audit/api/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion passbook/providers/app_gw/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def update(self, instance, validated_data):
class Meta:

model = ApplicationGatewayProvider
fields = ["pk", "name", "host", "client"]
fields = ["pk", "name", "internal_host", "external_host", "client"]
read_only_fields = ["client"]


Expand Down

0 comments on commit 45bd63c

Please sign in to comment.