Skip to content

Commit

Permalink
fix: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Apr 7, 2022
1 parent 01a0609 commit 6bbbd77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion karp/webapp/routes/resources_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def list_resource_permissions(

@router.get(
"/",
response_model=list[ResourceProtected],
# response_model=list[ResourceProtected],
)
def get_all_resources(
get_resources: lex.GetResources = Depends(deps.inject_from_req(lex.GetResources)),
Expand Down
6 changes: 3 additions & 3 deletions karp/webapp/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ class ResourceBase(BaseModel):
name: str
config: typing.Dict
message: Optional[str] = None
entry_repository_id: Optional[unique_id.UniqueId]
is_published: Optional[bool]
version: Optional[int]
entry_repo_id: Optional[unique_id.UniqueId]
# is_published: Optional[bool]
# version: Optional[int]


class ResourceCreate(ResourceBase):
Expand Down

0 comments on commit 6bbbd77

Please sign in to comment.