Skip to content

Commit b544c7a

Browse files
committed
auto formatting
1 parent d64fed7 commit b544c7a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ui/src/lib/remote/fetch.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ export function normalize(pods) {
116116
console.log(pod);
117117
pod.children = pod.children
118118
? pod.children.map((id) => ({
119-
id: res[id].id,
120-
type: res[id].type,
121-
}))
119+
id: res[id].id,
120+
type: res[id].type,
121+
}))
122122
: [];
123123
// change children.id format
124124
// UDPATE Or, I just put {id,type} in the children array
@@ -313,7 +313,13 @@ export async function doRemoteUpdatePod({ pod, reponame, username }) {
313313
return result;
314314
}
315315

316-
export async function doRemotePastePod({ clip, reponame, parent, index, column }) {
316+
export async function doRemotePastePod({
317+
clip,
318+
reponame,
319+
parent,
320+
index,
321+
column,
322+
}) {
317323
const res = await fetch(graphql_url, {
318324
method: "POST",
319325
headers: {

0 commit comments

Comments
 (0)