a tool for shared writing and social publishing

add null check to pub data

+1 -1
+1 -1
app/api/rpc/[command]/pull.ts
··· 74 74 description: string; 75 75 title: string; 76 76 }[]; 77 - let pub_patch = publication_data[0] 77 + let pub_patch = publication_data?.[0] 78 78 ? [ 79 79 { 80 80 op: "put",