Project

General

Profile

Actions

Bug #1148

closed

Feature #1039: [BE] restore affiliate features

[BE] affiliate admin fix update user

Added by Trịnh Thế Định 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
10/01/2024
Due date:
% Done:

0%

Estimated time:
Spent time:
Actions #1

Updated by Trịnh Thế Định 4 months ago

2024-10-02 00:16:45   File "/app/app/api/admin/endpoints/affiliate.py", line 316, in process_update_aff_affiliate_user
2024-10-02 00:16:45     return affiliate_service.process_update_aff_affiliate_user(db=db, aff_user_id=aff_user_id, action=action)
2024-10-02 00:16:45            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-02 00:16:45   File "/app/app/tts_common/services/affiliate.py", line 790, in process_update_aff_affiliate_user
2024-10-02 00:16:45     affiliate_user = crud.affiliate_user.get_role(db=db, user_id=aff_user_id)
2024-10-02 00:16:45                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-02 00:16:45 AttributeError: 'CRUDAffiliateUser' object has no attribute 'get_role'
Actions #2

Updated by Trịnh Thế Định 3 months ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF