Skip to content

Commit

Permalink
⏪ revert logging
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Aug 30, 2024
1 parent 73b7683 commit 485ad5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions aries_cloudagent/messaging/models/paginated_query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Class for paginated query parameters."""

import logging
from typing import Tuple

from aiohttp.web import BaseRequest
Expand All @@ -10,7 +9,6 @@
from ...messaging.models.openapi import OpenAPISchema
from ...storage.base import DEFAULT_PAGE_SIZE, MAXIMUM_PAGE_SIZE

logger = logging.getLogger(__name__)

class PaginatedQuerySchema(OpenAPISchema):
"""Parameters for paginated queries."""
Expand Down Expand Up @@ -74,9 +72,7 @@ def get_paginated_query_params(request: BaseRequest) -> Tuple[int, int, str, boo
order_by = request.query.get("order_by", "id")

# Convert the 'descending' parameter to a boolean
logger.info(f">>> REQUEST QUERY DESCENDING: {request.query.get("descending")}")
descending_str = request.query.get("descending", "False").lower()
descending = descending_str in {"true", "1", "yes"}
logger.info(f">>> PARSED DESCENDING VALUE: {descending}")

return limit, offset, order_by, descending
5 changes: 1 addition & 4 deletions aries_cloudagent/multitenant/admin/routes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Multitenant admin routes."""

import logging
from aiohttp import web
from aiohttp_apispec import (
docs,
Expand Down Expand Up @@ -489,9 +488,7 @@ async def wallet_create(request: web.BaseRequest):
try:
multitenant_mgr = context.profile.inject(BaseMultitenantManager)

wallet_record = await multitenant_mgr.create_wallet(
settings, key_management_mode
)
wallet_record = await multitenant_mgr.create_wallet(settings, key_management_mode)

token = await multitenant_mgr.create_auth_token(wallet_record, wallet_key)

Expand Down

0 comments on commit 485ad5e

Please sign in to comment.