mirror of
https://github.com/wekan/wekan.git
synced 2026-03-09 07:02:34 +01:00
Return data on client (sync) and Promise on server (async) naturally, without wrapping in an extra Promise
This commit is contained in:
parent
2b15a8ff09
commit
f934aea2a5
21 changed files with 405 additions and 3760 deletions
|
|
@ -55,8 +55,8 @@ InvitationCodes.attachSchema(
|
|||
);
|
||||
|
||||
InvitationCodes.helpers({
|
||||
async author() {
|
||||
return await ReactiveCache.getUser(this.authorId);
|
||||
author() {
|
||||
return ReactiveCache.getUser(this.authorId);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue