[fix] lib
This commit is contained in:
35 files changed
+21879
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
export function createApi(ctx) {
|
||||
const remote = ctx.remote['mail-gateway'];
|
||||
return {
|
||||
get: () => remote.get(),
|
||||
saveMailbox: patch => remote.saveMailbox(patch),
|
||||
saveWhitelist: addresses => remote.saveWhitelist(addresses),
|
||||
testConnection: patch => remote.testConnection(patch),
|
||||
status: () => remote.status(),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user