overwork most of how api works
dont transmit handler within payload don't use oauth to gen token -- jwt instead
This commit is contained in:
		@@ -68,7 +68,7 @@ function generalAPICall<T>(
 | 
			
		||||
    mytoken: string
 | 
			
		||||
): void {
 | 
			
		||||
    (async function (): Promise<void> {
 | 
			
		||||
        const response = await fetch(APIPREFIX + apinode, {
 | 
			
		||||
        const response = await fetch(APIPREFIX + apinode + '/' + fd.action, {
 | 
			
		||||
            method: 'POST',
 | 
			
		||||
            body: JSON.stringify(fd),
 | 
			
		||||
            headers: new Headers({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user