···11import { startOfHour, subDays } from "date-fns";
22import has from "just-has";
33import isEmpty from "just-is-empty";
44-import { BskyAPILoginCreds, Post, Repost, RepostInfo } from "../types.d";
44+import { Bindings, BskyAPILoginCreds, Post, Repost, RepostInfo } from "../types.d";
5566export function createPostObject(data: any) {
77 const postData: Post = (new Object() as Post);
···6565 return repostObj;
6666}
67676868-export function createLoginCredsObj(data: any) {
6868+export function createLoginCredsObj(env: Bindings, data: any) {
6969 const loginCreds: BskyAPILoginCreds = (new Object() as BskyAPILoginCreds);
7070 if (isEmpty(data)) {
7171 loginCreds.password = loginCreds.username = loginCreds.pds = "";