chore(api): Deprecate findUser from user store.
Is the same as getUser
This commit is contained in:
parent
83f32ea82a
commit
e3856c77d4
|
@ -20,6 +20,10 @@ export const useUserStore = defineStore({
|
|||
getters: {},
|
||||
|
||||
actions: {
|
||||
/**
|
||||
* @deprecated Use getUser instead, will be removed with first beta release
|
||||
* @todo Remove with first beta release
|
||||
*/
|
||||
findUser(userid: string) {
|
||||
return this.users.find((user) => user.userid === userid);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue