format
This commit is contained in:
parent
020c02476a
commit
324ec9e095
|
@ -1,3 +1,3 @@
|
|||
export function sqlLikeEscape(s: string) {
|
||||
return s.replace(/([%_])/g, '\\$1');
|
||||
return s.replace(/([%_])/g, "\\$1");
|
||||
}
|
||||
|
|
|
@ -65,7 +65,5 @@ export default define(meta, paramDef, async (ps, me) => {
|
|||
|
||||
const channels = await query.take(ps.limit).getMany();
|
||||
|
||||
return await Promise.all(
|
||||
channels.map((x) => Channels.pack(x, me)),
|
||||
);
|
||||
return await Promise.all(channels.map((x) => Channels.pack(x, me)));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue