Unnecessary return await function found JS-0111
Performance
Major
5 months ago10 months old
Redundant use of await on a return value
124    },
125  );
126
127  return await res.json();128}
129
130/**
Redundant use of await on a return value
102    body: JSON.stringify(body),
103  });
104
105  return await res.json();106}
107
108/* The code below does the following: