Removing total spending code for spending API