fix: revert str UUID
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from itd.request import fetch
|
||||
from uuid import UUID
|
||||
|
||||
def report(token: str, id: UUID, type: str = 'post', reason: str = 'other', description: str = ''):
|
||||
def report(token: str, id: str, type: str = 'post', reason: str = 'other', description: str = ''):
|
||||
return fetch(token, 'post', 'reports', {'targetId': id, 'targetType': type, 'reason': reason, 'description': description})
|
||||
Reference in New Issue
Block a user